#15827CLI Mode does not work properly under windows 2003 server
Description
init.php does check for paths in several ways.
PHP under windows 2003 server gives back backward slashes if “dirname” is used.
init.php then checks if ../typo3conf/ is avaliable in that path.
During calls from the webserver this is totally fine, since apache will convert those slashes to forward slashes and we are fine again.
PHP Command Line interface keeps the backslashes.
Set up a command line class as you wish.
Get burried in errors and PHPINFO output.
:)
init.php in 4.0RC1:
Add these lines on line 80 and following:
if (defined(‘TYPO3_cliMode’) && TYPO3_OS == ‘WIN’) {
$temp_path = str_replace(‘\\’,’/’,$temp_path);
}
These “fixed” path will work for the check.
(issue imported from #M2871)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.