]> granicus.if.org Git - php/commitdiff
Oops, said include but do require (thanks Jon and Rasmus)
authorTomas V.V.Cox <cox@php.net>
Tue, 17 Jul 2001 20:46:16 +0000 (20:46 +0000)
committerTomas V.V.Cox <cox@php.net>
Tue, 17 Jul 2001 20:46:16 +0000 (20:46 +0000)
pear/scripts/pear.in

index 850a0d21a76327d80649519cf6c831dfe44f16f8..08adc72573db15206bd072702a1eaf87372d00aa 100644 (file)
@@ -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;