aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/admin_disallow.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/admin_disallow.php')
-rw-r--r--phpBB/adm/admin_disallow.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/admin_disallow.php b/phpBB/adm/admin_disallow.php
index 7b8e9e6ca3..c6c1fcfa18 100644
--- a/phpBB/adm/admin_disallow.php
+++ b/phpBB/adm/admin_disallow.php
@@ -34,7 +34,7 @@ if (!empty($setmodules))
define('IN_PHPBB', 1);
// Include files
$phpbb_root_path = '../';
-require($phpbb_root_path . 'extension.inc');
+$phpEx = substr(strrchr(__FILE__, '.'), 1);
require('pagestart.' . $phpEx);
require($phpbb_root_path . 'includes/functions_user.'.$phpEx);