diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-27 02:19:45 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-27 02:19:45 +0000 |
commit | ed932754b5e8f079c836a2258793f82373e72e8a (patch) | |
tree | 515fcecf36a5b1ccb2576b0f70f18c6de819c822 /phpBB/admin/index.php | |
parent | 4ca97851d69591b046889d1490ca6810eda2b3c5 (diff) | |
download | forums-ed932754b5e8f079c836a2258793f82373e72e8a.tar forums-ed932754b5e8f079c836a2258793f82373e72e8a.tar.gz forums-ed932754b5e8f079c836a2258793f82373e72e8a.tar.bz2 forums-ed932754b5e8f079c836a2258793f82373e72e8a.tar.xz forums-ed932754b5e8f079c836a2258793f82373e72e8a.zip |
Remove hard-coded .php
git-svn-id: file:///svn/phpbb/trunk@1963 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/index.php')
-rw-r--r-- | phpBB/admin/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php index deb18b2781..e2538f2fc1 100644 --- a/phpBB/admin/index.php +++ b/phpBB/admin/index.php @@ -56,7 +56,7 @@ if( $HTTP_GET_VARS['pane'] == 'left' ) $setmodules = 1; while( $file = @readdir($dir) ) { - if( preg_match("/^admin_.*?\.php$/", $file) ) + if( preg_match("/^admin_.*?\." . $phpEx . "$/", $file) ) { include($file); } |