aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-06-04 11:23:00 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-06-04 11:23:00 +0000
commite8b7c45d850da592ae0378bed4eebae3070bcfe2 (patch)
treef33829f6a201d73b9cc06bb0c7e2ceac8aea6dc6
parente8e807f79750e68c3fa1757958e3674bb9cd9aaf (diff)
downloadforums-e8b7c45d850da592ae0378bed4eebae3070bcfe2.tar
forums-e8b7c45d850da592ae0378bed4eebae3070bcfe2.tar.gz
forums-e8b7c45d850da592ae0378bed4eebae3070bcfe2.tar.bz2
forums-e8b7c45d850da592ae0378bed4eebae3070bcfe2.tar.xz
forums-e8b7c45d850da592ae0378bed4eebae3070bcfe2.zip
fix adm redirect
git-svn-id: file:///svn/phpbb/trunk@8590 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/functions.php2
-rwxr-xr-xphpBB/install/install_install.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 3a4a12777e..ed784405ac 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3466,7 +3466,7 @@ function page_footer($run_cron = true)
'DEBUG_OUTPUT' => (defined('DEBUG')) ? $debug_output : '',
'TRANSLATION_INFO' => (!empty($user->lang['TRANSLATION_INFO'])) ? $user->lang['TRANSLATION_INFO'] : '',
- 'U_ACP' => ($auth->acl_get('a_') && $user->data['is_registered']) ? append_sid(CONFIG_ADM_FOLDER . 'index', false, true, $user->session_id) : '')
+ 'U_ACP' => ($auth->acl_get('a_') && $user->data['is_registered']) ? append_sid(CONFIG_ADM_FOLDER . '/index', false, true, $user->session_id) : '')
);
// Call cron-type script
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index ff47c2c8a3..919f13dfa4 100755
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1944,7 +1944,7 @@ class install_install extends module
'TITLE' => $lang['INSTALL_CONGRATS'],
'BODY' => sprintf($lang['INSTALL_CONGRATS_EXPLAIN'], $config['version'], append_sid('install/index', 'mode=convert&amp;language=' . $data['language']), '../docs/README.html'),
'L_SUBMIT' => $lang['INSTALL_LOGIN'],
- 'U_ACTION' => append_sid(CONFIG_ADM_FOLDER . '/index.' . PHP_EXT),
+ 'U_ACTION' => append_sid(CONFIG_ADM_FOLDER . '/index'),
));
}