Project

General

Profile

Bug #21128 ยป 0012042.patch

Administrator Admin, 2009-09-23 01:09

View differences:

t3lib/class.t3lib_loadmodules.php (Arbeitskopie)
*
* @var t3lib_beUserAuth
*/
var $BE_USER = '';
var $BE_USER;
var $observeWorkspaces = FALSE; // If set true, workspace "permissions" will be observed so non-allowed modules will not be included in the array of modules.
typo3/sysext/cms/tslib/index_ts.php (Arbeitskopie)
// *********
// BE_USER
// *********
$BE_USER='';
$BE_USER = NULL;
if ($_COOKIE['be_typo_user']) { // If the backend cookie is set, we proceed and checks if a backend user is logged in.
$TYPO3_MISC['microtime_BE_USER_start'] = microtime(true);
$TT->push('Back End user initialized','');
......
}
// Unset the user initialization.
if (!$BE_USER->checkLockToIP() || !$BE_USER->checkBackendAccessSettingsFromInitPhp() || !$BE_USER->user['uid']) {
$BE_USER='';
$BE_USER = NULL;
$TSFE->beUserLogin=0;
}
$TT->pull();
......
$BE_USER->fetchGroupData();
$TSFE->beUserLogin = 1;
} else {
$BE_USER = '';
$BE_USER = NULL;
$TSFE->beUserLogin = 0;
}
}
    (1-1/1)