aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/admin_forumauth.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/admin/admin_forumauth.php')
-rw-r--r--phpBB/admin/admin_forumauth.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/phpBB/admin/admin_forumauth.php b/phpBB/admin/admin_forumauth.php
index cfb3e34c8b..b845f5143a 100644
--- a/phpBB/admin/admin_forumauth.php
+++ b/phpBB/admin/admin_forumauth.php
@@ -7,11 +7,9 @@ if($setmodules==1)
return;
}
-
-chdir("../");
-
-include('extension.inc');
-include('common.'.$phpEx);
+$phpbb_root_path = "./../";
+include($phpbb_root_path . 'extension.inc');
+include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
@@ -424,4 +422,4 @@ Copyright &copy; 2001 phpBB Group, All Rights Reserved</font>
<br>
</body>
-</html>
+</html> \ No newline at end of file