diff -r 098e744df928 -r a216e412c439 plugins/SpecialUserFuncs.php --- a/plugins/SpecialUserFuncs.php Sat Nov 15 18:22:13 2008 -0500 +++ b/plugins/SpecialUserFuncs.php Sat Nov 15 18:23:25 2008 -0500 @@ -624,7 +624,7 @@ 'username' => $session->username, 'redir_target' => $lang->get('user_login_success_body_mainpage') ); - redirect( makeUrl(getConfig('main_page'), false, true), $lang->get('user_login_success_title'), $lang->get('user_login_success_body', $subst) ); + redirect( makeUrl(get_main_page(), false, true), $lang->get('user_login_success_title'), $lang->get('user_login_success_body', $subst) ); } } else @@ -674,7 +674,7 @@ $l = $session->logout(); if ( $l == 'success' ) { - $url = makeUrl(getConfig('main_page'), false, true); + $url = makeUrl(get_main_page(), false, true); if ( $paths->getParam(1) ) { $pi = explode('/', $paths->getAllParams()); @@ -1442,7 +1442,7 @@ $ret = ( isset($_POST['return_to']) ) ? $_POST['return_to'] : $paths->getParam(0); if ( !$ret ) { - $ret = getConfig('main_page'); + $ret = get_main_page(); } ?>