From dd86187535c6c035ec40db65accc3ce8fb961ed2 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 7 Sep 2003 17:58:19 +0000 Subject: [PATCH] hhmm git-svn-id: file:///svn/phpbb/trunk@4484 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/memberlist.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index eae957f3fe..1c6cd7f9f2 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -18,23 +18,20 @@ define('IN_PHPBB', true); $phpbb_root_path = './'; -include($phpbb_root_path . 'extension.inc'); +$phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.'.$phpEx); - // Start session management $user->start(); $auth->acl($user->data); $user->setup(); - // Grab data $mode = (isset($_REQUEST['mode'])) ? htmlspecialchars($_REQUEST['mode']) : ''; $action = (isset($_REQUEST['action'])) ? htmlspecialchars($_REQUEST['action']) : ''; $user_id = (isset($_GET['u'])) ? intval($_GET['u']) : ANONYMOUS; $topic_id = (isset($_GET['t'])) ? intval($_GET['t']) : 0; - switch ($mode) { case 'email':