cvs: php4 /pear/PEAR WebInstaller.php
| From: | Christian Stocker | Date: | Wed, 14 Nov 2001 09:22:00 +0000 |
| Subject: | cvs: php4 /pear/PEAR WebInstaller.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1318@lists.php.net to get a copy of this message | ||
chregu Wed Nov 14 04:22:00 2001 EDT
Modified files:
/php4/pear/PEAR WebInstaller.php
Log:
checking if package.xml.gz exists, before checking if it's writeable
Index: php4/pear/PEAR/WebInstaller.php
diff -u php4/pear/PEAR/WebInstaller.php:1.5 php4/pear/PEAR/WebInstaller.php:1.6
--- php4/pear/PEAR/WebInstaller.php:1.5 Sat Nov 10 05:37:24 2001
+++ php4/pear/PEAR/WebInstaller.php Wed Nov 14 04:22:00 2001
@@ -352,7 +352,7 @@
// check if we can write the Package.xml file for caching
- if ( is_writeable($this->installdir."/$PackageFile") ||
!file_exists($this->installdir."/$PackageFile") &&
is_writeable($this->installdir) )
+ if ( (file_exists($this->installdir."/$PackageFile") &&
is_writeable($this->installdir."/$PackageFile")) ||
!file_exists($this->installdir."/$PackageFile") &&
is_writeable($this->installdir) )
{
$time = filemtime($this->installdir."/$PackageFile");