diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-03-13 11:43:24 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-03-15 15:13:59 +0100 |
commit | 2071abda1fac18a3b53b27ac31d2714c167c993f (patch) | |
tree | 1f42552e3ec272eb654446274f69086a922eb2ee /phpBB/develop | |
parent | 8aa22550b9e3e21ae6a744cc23a2d22a251afb3d (diff) | |
download | forums-2071abda1fac18a3b53b27ac31d2714c167c993f.tar forums-2071abda1fac18a3b53b27ac31d2714c167c993f.tar.gz forums-2071abda1fac18a3b53b27ac31d2714c167c993f.tar.bz2 forums-2071abda1fac18a3b53b27ac31d2714c167c993f.tar.xz forums-2071abda1fac18a3b53b27ac31d2714c167c993f.zip |
[ticket/12262] Do not use getExtension()
The method is php 5.3.6+ only.
PHPBB3-12262
Diffstat (limited to 'phpBB/develop')
-rw-r--r-- | phpBB/develop/export_events_for_wiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/develop/export_events_for_wiki.php b/phpBB/develop/export_events_for_wiki.php index f843c67113..e8a94c1608 100644 --- a/phpBB/develop/export_events_for_wiki.php +++ b/phpBB/develop/export_events_for_wiki.php @@ -289,7 +289,7 @@ function get_file_list($dir, $path = '') $files[] = $file_info->getFilename() . '/' . $file; } } - else if ($file_info->getExtension() == 'php') + else if (substr($file_info->getFilename(), -4) == '.php') { $files[] = $file_info->getFilename(); } |