Actions
Bug #14770
closedCheck SSL (https) in /typo3/init.php and TYPO3_cliMode
Start date:
2005-05-30
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If
$TYPO3_CONF_VARS['BE']['lockSSL']==2
(or 1)
is set in the localconf.php the TYPO3_cliMode will not work! In this case the init.php try to redirect to https:// but we use the cliMode and there it is no https...
All cli scripts will die here without an error.
Better to change the check from
if (intval($TYPO3_CONF_VARS['BE']['lockSSL'])) {
to
if (intval($TYPO3_CONF_VARS['BE']['lockSSL']) && !(defined('TYPO3_cliMode')) {
(issue imported from #M1129)
Actions