Bug #22500 » 14180-BE-shutdown.patch
typo3/init.php (working copy) | ||
---|---|---|
if ($TYPO3_CONF_VARS['BE']['adminOnly'] < 0) {
|
||
header('Status: 404 Not Found'); // Send Not Found header - if the webserver can make use of it...
|
||
header('Location: http://'); // Just point us away from here...
|
||
t3lib_BEfunc::typo3printError('Backend locked', 'Backend and Install Tool are locked for maintenance. [BE][adminOnly] is set to "' . intval($TYPO3_CONF_VARS['BE']['adminOnly']) . '".');
|
||
exit; // ... and exit good!
|
||
}
|
||
if (!(defined('TYPO3_cliMode') && TYPO3_cliMode) && @is_file(PATH_typo3conf.'LOCK_BACKEND')) {
|