mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
[ticket/12273] Make event exporter compatible with php 5.3.3
PHPBB3-12273
This commit is contained in:
parent
3566325874
commit
9ba9a024d6
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user