[FIX] file-entities.php.in on Windows

From: Date: Thu, 08 Aug 2002 09:16:21 +0000
Subject: [FIX] file-entities.php.in on Windows
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969347909@lists.php.net to get a copy of this message
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

« previous php.doc (#969347909) next »