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

Moreno Feltscher moreno.feltscher at gmail.com
Thu Feb 28 13:50:05 CET 2008


>  > Warning: preg_match(): No ending delimiter '/' found in
>  > D:\WEB\TYPO3_42beta2\typo3\cli_dispatch.phpsh on line 57
>
>
> preg_match('/^([A-Z]:)?\\/', $temp_PATH_thisScript)
>
>  Odd. I tried to match a \. In the shell I need \\\ (within the regexp) to
>  match a single \ in the path string:
>
>
>  preg_match('/^([A-Z]:)?\\\/', $temp_PATH_thisScript)
>
>  Why do I need three? Any other number raises the mentioned error.
Can you fix this?


>  > Notice: Undefined index:  PWD in
>  > D:\WEB\TYPO3_42beta2\typo3\cli_dispatch.phpsh on line 69
>
>  I think we can ignore this. I don't recall that we try to catch this type
>  of notice anywhere in the code.
I also think so.


Dear windows user please test this patch... without it, this bug will
still exist in 4.2...

reminder: 4.1 have to be fixed too.


More information about the TYPO3-team-core mailing list