cvs: php4 /pear/scripts pear.in

From: Date: Tue, 17 Jul 2001 20:46:16 +0000
Subject: cvs: php4 /pear/scripts pear.in
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-288@lists.php.net to get a copy of this message
cox Tue Jul 17 16:46:16 2001 EDT Modified files: /php4/pear/scripts pear.in Log: Oops, said include but do require (thanks Jon and Rasmus) Index: php4/pear/scripts/pear.in diff -u php4/pear/scripts/pear.in:1.7 php4/pear/scripts/pear.in:1.8 --- php4/pear/scripts/pear.in:1.7 Tue Jul 17 15:11:48 2001 +++ php4/pear/scripts/pear.in Tue Jul 17 16:46:16 2001 @@ -65,7 +65,7 @@ $command = $options[1][1]; switch ($command) { case 'install': - require_once 'PEAR/Installer.php'; + include_once 'PEAR/Installer.php'; $package = $options[1][2]; $installer =& new PEAR_Installer($script_dir, $ext_dir, $doc_dir); $installer->debug = $verbose; @@ -76,7 +76,7 @@ } break; case 'package': - require_once 'PEAR/Packager.php'; + include_once 'PEAR/Packager.php'; $pkginfofile = $options[1][2]; $packager =& new PEAR_Packager($script_dir, $ext_dir, $doc_dir); $packager->debug = $verbose;

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