Actions
Bug #15827
closedCLI Mode does not work properly under windows 2003 server
Start date:
2006-03-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
Actions