From: Tomas V.V.Cox Date: Tue, 17 Jul 2001 20:46:16 +0000 (+0000) Subject: Oops, said include but do require (thanks Jon and Rasmus) X-Git-Tag: PRE_TSRM_MERGE_PATCH~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c75f153daaf7bee23db90db25bdd7e02ed6c7632;p=php Oops, said include but do require (thanks Jon and Rasmus) --- diff --git a/pear/scripts/pear.in b/pear/scripts/pear.in index 850a0d21a7..08adc72573 100644 --- a/pear/scripts/pear.in +++ b/pear/scripts/pear.in @@ -65,7 +65,7 @@ PEAR::setErrorHandling(PEAR_ERROR_PRINT); $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 @@ switch ($command) { } 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;