|
From: Jon O. <jon...@us...> - 2007-08-27 15:10:26
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4049 Modified Files: Tag: core28x login.php Log Message: Solved issues reported in the BT is commited. And: - template get_file update, backported from 2.9.x - removed blockCP block select, if not admin Index: login.php =================================================================== RCS file: /cvsroot/mxbb/core/login.php,v retrieving revision 1.23 retrieving revision 1.23.2.1 diff -C2 -d -r1.23 -r1.23.2.1 *** login.php 5 May 2007 20:12:57 -0000 1.23 --- login.php 26 Aug 2007 19:06:42 -0000 1.23.2.1 *************** *** 22,25 **** --- 22,30 ---- // + // Page selector + // + $page_id = $mx_request_vars->request('page', MX_TYPE_INT, 1); + + // // Start session, user and style (template + theme) management // - populate $userdata, $lang, $theme, $images and initiate $template. *************** *** 27,30 **** --- 32,40 ---- $mx_user->init($user_ip, PAGE_LOGIN); + // + // Load and instatiate CORE (page) and block classes + // + $mx_page->init( $page_id ); + // session id check if (!empty($HTTP_POST_VARS['sid']) || !empty($HTTP_GET_VARS['sid'])) |