$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;
}
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;