[TYPO3-core] RFC: Bug / Feature #5838: Get cli_dispatch.phpsh to work on windows platforms
Christian Trabold
christian.trabold at dkd.de
Mon Oct 29 16:57:12 CET 2007
> 1) Always use the absolute path to the script.
> 2) Do not prepend the path with / (which could be fixed with the
> attached patch)
I slightly changed the patch:
- There's an if-else construct which prevents a NOTICE from PHP-Parser
if $temp_CURRENT_DIR is not initialized in the script, what would be the
fact in my first patch.
- No further constant is needed as Andreas suggested (and thus no
changes in documentation and stuff is needed as well)
- It simply does what the Constant "TYPO3_OS" would do in this case, so
it's probably a save way to check agains windows machines...
What do you think? Is this sufficient enough?
Greetings
Christian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 5838_cli_dispatch.phpsh 3.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071029/6e337c84/attachment.txt
More information about the TYPO3-team-core
mailing list