[TYPO3-core] RFC: Bug / Feature #5838: Get cli_dispatch.phpsh to work on windows platforms
Andreas Otto
andreas.otto at dkd.de
Fri Oct 26 11:26:45 CEST 2007
Hi Christian,
Christian Trabold wrote:
> Solution:
> Do not set $temp_CURRENT_DIR on Windows. See attached patch.
The PHP constant will be defined in typo3/init.php on line 70 again which
will throw a notice like:
Notice: Constant TYPO3_OS already defined in test.php on line 7
Call Stack:
0.0009 53432 1. {main}() test.php:0
0.0010 53684 2. define() test.php:7
So, defining the constant TYPO3_OS in that early stage might not be the best
idea.
Maybe a new PHP constant TYPO3_cliOS could be introduced for this stage.
Cheers,
Andreas
More information about the TYPO3-team-core
mailing list