mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Oops, said include but do require (thanks Jon and Rasmus)
This commit is contained in:
parent
bed51fa581
commit
c75f153daa
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ PEAR::setErrorHandling(PEAR_ERROR_PRINT);
|
||||||
$command = $options[1][1];
|
$command = $options[1][1];
|
||||||
switch ($command) {
|
switch ($command) {
|
||||||
case 'install':
|
case 'install':
|
||||||
require_once 'PEAR/Installer.php';
|
include_once 'PEAR/Installer.php';
|
||||||
$package = $options[1][2];
|
$package = $options[1][2];
|
||||||
$installer =& new PEAR_Installer($script_dir, $ext_dir, $doc_dir);
|
$installer =& new PEAR_Installer($script_dir, $ext_dir, $doc_dir);
|
||||||
$installer->debug = $verbose;
|
$installer->debug = $verbose;
|
||||||
|
@ -76,7 +76,7 @@ switch ($command) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'package':
|
case 'package':
|
||||||
require_once 'PEAR/Packager.php';
|
include_once 'PEAR/Packager.php';
|
||||||
$pkginfofile = $options[1][2];
|
$pkginfofile = $options[1][2];
|
||||||
$packager =& new PEAR_Packager($script_dir, $ext_dir, $doc_dir);
|
$packager =& new PEAR_Packager($script_dir, $ext_dir, $doc_dir);
|
||||||
$packager->debug = $verbose;
|
$packager->debug = $verbose;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue