cvs: php4 /pear/PEAR Config.php

From: Date: Mon, 27 May 2002 22:28:26 +0000
Subject: cvs: php4 /pear/PEAR Config.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4173@lists.php.net to get a copy of this message
ssb Mon May 27 18:28:26 2002 EDT Modified files: /php4/pear/PEAR Config.php Log: * moved the --without-pear compat defines to the right place Index: php4/pear/PEAR/Config.php diff -u php4/pear/PEAR/Config.php:1.24 php4/pear/PEAR/Config.php:1.25 --- php4/pear/PEAR/Config.php:1.24 Mon May 27 18:27:40 2002 +++ php4/pear/PEAR/Config.php Mon May 27 18:28:26 2002 @@ -16,7 +16,7 @@ // | Author: Stig Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: Config.php,v 1.24 2002/05/27 22:27:40 ssb Exp $ +// $Id: Config.php,v 1.25 2002/05/27 22:28:26 ssb Exp $ require_once 'PEAR.php'; @@ -26,6 +26,14 @@ */ $GLOBALS['_PEAR_Config_instance'] = null; +// in case a --without-pear PHP installation is used +if (!defined('PEAR_INSTALL_DIR')) { + define('PEAR_INSTALL_DIR', PHP_LIBDIR); +} +if (!defined('PEAR_EXTENSION_DIR')) { + define('PEAR_EXTENSION_DIR', PHP_EXTENSION_DIR); +} + define('PEAR_CONFIG_DEFAULT_BINDIR', PHP_BINDIR); define('PEAR_CONFIG_DEFAULT_DOCDIR', @@ -38,14 +46,6 @@ define('PEAR_CONFIG_DEFAULT_TESTDIR', PEAR_INSTALL_DIR.DIRECTORY_SEPARATOR.'tests'); define('PEAR_DEFAULT_UMASK', umask()); - -// in case a --without-pear PHP installation is used -if (!defined('PEAR_INSTALL_DIR')) { - define('PEAR_INSTALL_DIR', PHP_LIBDIR); -} -if (!defined('PEAR_EXTENSION_DIR')) { - define('PEAR_EXTENSION_DIR', PHP_EXTENSION_DIR); -} /** * This is a class for storing configuration data, keeping track of

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