Re: Re: About PHPDOC on windows
| From: | Gabor Hojtsy | Date: | Thu, 08 Aug 2002 09:19:17 +0000 |
| Subject: | Re: Re: About PHPDOC on windows | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969347910@lists.php.net to get a copy of this message | ||
> 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...
Goba