Project

General

Profile

Bug #20934 ยป 11798.patch

Administrator Admin, 2009-08-27 00:13

View differences:

t3lib/class.t3lib_beuserauth.php (working copy)
function backendCheckLogin() {
if (!$this->user['uid']) {
if (!defined('TYPO3_PROCEED_IF_NO_USER') || !TYPO3_PROCEED_IF_NO_USER) {
t3lib_BEfunc::typo3PrintError ('Login-error or session timed-out', 'No user logged in! Sorry, I can\'t proceed then!<br /><br />(You must have cookies enabled!)<br /><br />If your session has just timed-out, you may<br /><a href="'.t3lib_div::locationHeaderUrl(t3lib_div::getIndpEnv('TYPO3_SITE_URL').TYPO3_mainDir.'index.php'.'" target="_top">click here to re-login</a>.',0));
header('Location: ' . t3lib_div::locationHeaderUrl('index.php'));
exit;
}
} else { // ...and if that's the case, call these functions
    (1-1/1)