Project

General

Profile

Actions

Bug #17409

closed

cli_dispatch.phpsh not working with windows

Added by Irene Höppner almost 17 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-06-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It is not possible to run a cli script using cli_dispatch.phpsh, if the server is 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 as absolute paths dont start with / there.

I added a patch (based on revision 2364), which might not be the perfect solution, but it adds a check of the OS, so the script doesn't change for linux systems but can be used on windows systems as well.
(issue imported from #M5838)


Files

cli_dispatch.phpsh.patch (1010 Bytes) cli_dispatch.phpsh.patch Administrator Admin, 2007-06-21 16:26
5838_cli_dispatch.phpsh.patch (1.19 KB) 5838_cli_dispatch.phpsh.patch Administrator Admin, 2007-10-19 21:38
bug_5838.diff (4.94 KB) bug_5838.diff Administrator Admin, 2008-02-14 16:25
Actions

Also available in: Atom PDF