aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/event
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-18 13:06:13 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-18 13:07:39 +0200
commit9ba9a024d6a72eb81d77347eb866e73556b81051 (patch)
tree50efcd2f13e63be378a3f9776c50655aa6afff06 /phpBB/phpbb/event
parent3566325874a7d6da00ec7cd0e95543db34e1e811 (diff)
downloadforums-9ba9a024d6a72eb81d77347eb866e73556b81051.tar
forums-9ba9a024d6a72eb81d77347eb866e73556b81051.tar.gz
forums-9ba9a024d6a72eb81d77347eb866e73556b81051.tar.bz2
forums-9ba9a024d6a72eb81d77347eb866e73556b81051.tar.xz
forums-9ba9a024d6a72eb81d77347eb866e73556b81051.zip
[ticket/12273] Make event exporter compatible with php 5.3.3
PHPBB3-12273
Diffstat (limited to 'phpBB/phpbb/event')
-rw-r--r--phpBB/phpbb/event/php_exporter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/event/php_exporter.php b/phpBB/phpbb/event/php_exporter.php
index 51fe878d41..eb9e8f72b3 100644
--- a/phpBB/phpbb/event/php_exporter.php
+++ b/phpBB/phpbb/event/php_exporter.php
@@ -134,7 +134,7 @@ class php_exporter
$files[] = $file_info->getFilename() . '/' . $file;
}
}
- else if ($file_info->getExtension() == 'php')
+ else if (substr($file_info->getFilename(), -4) == '.php')
{
$files[] = $file_info->getFilename();
}