Re: [FIX] file-entities.php.in on Windows
| From: | Gabor Hojtsy | Date: | Thu, 08 Aug 2002 09:29:58 +0000 |
| Subject: | Re: [FIX] file-entities.php.in on Windows | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969347911@lists.php.net to get a copy of this message | ||
I am on this...
Goba
----- Original Message -----
From: Patric Stout
To: phpdoc@lists.php.net
Sent: Thursday, August 08, 2002 11:16 AM
Subject: [PHP-DOC] [FIX] file-entities.php.in on Windows
About file-entities.php.in:
It's fine by me that /scripts strip is taken to abs_path, but can somebody also please add
the \ => / conversion BEFORE stripping /script, else all windows configures are corrupt... I do
not have CVS premission, so I can not do it myself :p
(sorry about the crappy Diff :p)
57c57
< $out_dir = str_replace("\\", "/", abs_path($out_dir));
---
> $out_dir = abs_path($out_dir);
62c62
< $srcdir = str_replace("\\", "/", abs_path("@SRCDIR@"));
---
> $srcdir = abs_path("@SRCDIR@");
164c164
< $absdirs = explode("/", preg_replace("!/scripts$!", "",
getcwd()));
---
> $absdirs = explode("/", preg_replace("!/scripts$!", "",
> str_replace("\\", "/", getcwd())));
Tnx already :)
Byez,
Patric Stout