[TYPO3-core] RFC: Bug #5838: cli_dispatch.phpsh not working with windows
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Mon Jul 16 10:06:04 CEST 2007
Ernesto Baschny [cron IT] schrieb:
> This is a SVN patch request.
>
> Problem:
> cli_dispatch.phpsh cannot be used under Windows.
>
> The problem is an if-condition, that checks if a path is absolute,
> looking if the path starts with "/". This is always true on windows systems.
>
> Solution:
> Check for Windows platform at appropriate place.
>
> Thanks to Irene Höppner for the bug report and suggested solution!
The solution doesn't look right. It doesn't not use the TYPO3 OS constant
(is it already set at this point?) and doesn't check for a real Windows
absolute path (which shoud look like /^[A-Z]:\\/).
Masi
More information about the TYPO3-team-core
mailing list