cvs: php4 /pear/PEAR Config.php

From: Date: Thu, 02 Jan 2003 23:48:32 +0000
Subject: cvs: php4 /pear/PEAR Config.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-8057@lists.php.net to get a copy of this message
ssb Thu Jan 2 18:48:32 2003 EDT Modified files: /php4/pear/PEAR Config.php Log: * allways fall back to PHP_SYSCONFDIR Index: php4/pear/PEAR/Config.php diff -u php4/pear/PEAR/Config.php:1.39 php4/pear/PEAR/Config.php:1.40 --- php4/pear/PEAR/Config.php:1.39 Tue Dec 31 11:18:26 2002 +++ php4/pear/PEAR/Config.php Thu Jan 2 18:48:32 2003 @@ -16,7 +16,7 @@ // | Author: Stig Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: Config.php,v 1.39 2002/12/31 16:18:26 sebastian Exp $ +// $Id: Config.php,v 1.40 2003/01/02 23:48:32 ssb Exp $ require_once 'PEAR.php'; require_once 'System.php'; @@ -37,7 +37,7 @@ define('PEAR_CONFIG_SYSCONFDIR', $_ENV['PHP_PEAR_SYSCONF_DIR']); } elseif (isset($_ENV['SystemRoot'])) { define('PEAR_CONFIG_SYSCONFDIR', $_ENV['SystemRoot']); -} elseif (@is_dir(PHP_SYSCONFDIR)) { +} else { define('PEAR_CONFIG_SYSCONFDIR', PHP_SYSCONFDIR); }

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