[TYPO3-core] RFC: Bug / Feature #5838: Get cli_dispatch.phpsh to work on windows platforms

Christian Trabold typo3 at christian-trabold.de
Thu Oct 25 22:58:12 CEST 2007


This is an SVN patch request.

Type: Bugfix / New feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=5838

Branches:
TYPO3_4-1 & trunk


Problem:
It is not possible to run a cli script using cli_dispatch.phpsh, if the 
server is windows.

It's impossible to start the crawler via command line on Windows 
machines without a core-patch because the path to the script ALWAYS gets 
prepended with "/", which results in false include paths.

Example:

C:\>php C:/Inetpub/wwwroot/project/typo3/cli_dispatch.phpsh crawler
ERROR: /C:/Inetpub/wwwroot/project/typo3/cli_dispatch.phpsh was not a 
file. ...



Solution:
Do not set $temp_CURRENT_DIR on Windows. See attached patch.


Greetings

Christian

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 5838_cli_dispatch.phpsh.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071025/40528abb/attachment.txt 


More information about the TYPO3-team-core mailing list