Re: sources for PEAR_PackageFileManager
| From: | Laurent Laville | Date: | Tue, 22 Jul 2003 23:06:18 +0000 |
| Subject: | Re: sources for PEAR_PackageFileManager | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18560@lists.php.net to get a copy of this message | ||
Hello Greg,
I've tested your 0.3 version and all seems good (until now for me) except
that when i wanted to write the package.xml
after test stage i got an error
PEAR_PackageFileManager Error: Destination directory
"e:/easyphp/php/PEAR/HTML/SetupWizard/" is unwritable
I think it could happens from line 602 of PackageFileManager.php, because
you used
if (is_writable($this->_options['packagedirectory'] .
$this->_options['packagefile'])) {
and not (see the previous line) the variable $outputdir.
Correct line will be for me :
if (is_writable($outputdir . $this->_options['packagefile'])) {
so if user decide to use option 'outputdirectory' instead of
'packagedirectory', there will be a serious problem .
Are you agree ?
Regards
Laurent