cvs: pear-core /PEAR Registry.php

From: Date: Sun, 20 Feb 2005 20:47:04 +0000
Subject: cvs: pear-core /PEAR Registry.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-29558@lists.php.net to get a copy of this message
cellog Sun Feb 20 15:47:04 2005 EDT Modified files: /pear-core/PEAR Registry.php Log: $this->statedir does not necessarily exist - we need to test for writeability of the php_dir, which must exist prior to any of this bullhonky http://cvs.php.net/diff.php/pear-core/PEAR/Registry.php?r1=1.120&r2=1.121&ty=u Index: pear-core/PEAR/Registry.php diff -u pear-core/PEAR/Registry.php:1.120 pear-core/PEAR/Registry.php:1.121 --- pear-core/PEAR/Registry.php:1.120 Sun Feb 20 12:01:14 2005 +++ pear-core/PEAR/Registry.php Sun Feb 20 15:47:03 2005 @@ -18,7 +18,7 @@ // | | // +----------------------------------------------------------------------+ // -// $Id: Registry.php,v 1.120 2005/02/20 17:01:14 cellog Exp $ +// $Id: Registry.php,v 1.121 2005/02/20 20:47:03 cellog Exp $ /* TODO: @@ -150,7 +150,7 @@ function hasWriteAccess() { - return @is_writeable($this->statedir); + return @is_writeable($this->install_dir); } function setConfig(&$config) @@ -1107,7 +1107,7 @@ $ui = PEAR_Frontend::singleton(); if ($ui) { foreach ($info->getValidationWarnings() as $err) { - $ui->log($err['message']); + $ui->log(2, $err['message']); } } }

« previous php.pear.cvs (#29558) next »