Re: Re: About PHPDOC on windows

From: Date: Thu, 08 Aug 2002 09:33:27 +0000
Subject: Re: Re: About PHPDOC on windows
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969347912@lists.php.net to get a copy of this message
Gabor Hojtsy wrote:
Configure generates scripts/file-entities.php, there are the follwing
lines:
$srcdir = str_replace("\\", "/", abs_path(".")); // The translation dir is passed as the 6th argument, counting // from the end of the argument list $trans_dir = "$srcdir/en"; // The original directory is in the base directory, and named "en" $orig_dir = "$srcdir/en"; The value of $srcdir is phpdoc/scripts, probably it should be phpdoc.
abs_path() should make the $srcdir an absolute path without the scripts dir...
After changing lines to: $trans_dir = "$srcdir/../en"; $orig_dir = "$srcdir/../en"; all is working.
This is not a solution, just an ugly workaround...
Yes, I know, quick, dirty and ugly workaround. But the problem is 100% reproducible on two computers. I don't know why abs_path() is not working as expected. I'll try to check it again today.

« previous php.doc (#969347912) next »