Issue Bug Closed

#14558Typo3-CLI-mode don't work with ssl-enabled

Joerg Schoppet 02/18/05, 15:30 updated 08/12/06, 14:23

Description

in the file typo3/init.php between line 178 and 192 is the ssl check.

If SSL is enabled and you want to run a CLI script, then the script ends at this position.

Enable SSL (required) and try to run a CLI-script.

The following line:
if (intval($TYPO3_CONF_VARS[‘BE’][‘lockSSL’]))

should be replaced by this one:
if (intval($TYPO3_CONF_VARS[‘BE’][‘lockSSL’]) && !(defined(‘TYPO3_cliMode’) && TYPO3_cliMode))
(issue imported from #M815)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.