diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-04-18 13:06:13 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-18 13:07:39 +0200 |
commit | 9ba9a024d6a72eb81d77347eb866e73556b81051 (patch) | |
tree | 50efcd2f13e63be378a3f9776c50655aa6afff06 /phpBB/phpbb/event | |
parent | 3566325874a7d6da00ec7cd0e95543db34e1e811 (diff) | |
download | forums-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.php | 2 |
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(); } |