summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2002-03-29 02:39:33 +0000
committerStig Bakken <ssb@php.net>2002-03-29 02:39:33 +0000
commit45878bff77731e6f926d869a5bdfef0c81251a3f (patch)
tree59bf33c3d25e0cfd2d8e3a05f24bdf8ff71c1dcb
parentf6e4eea39a6dfab287eaeb0098a082cc98647e6f (diff)
downloadphp-git-45878bff77731e6f926d869a5bdfef0c81251a3f.tar.gz
* always require PEAR/Common.php
-rw-r--r--pear/PEAR/Command/Package.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/pear/PEAR/Command/Package.php b/pear/PEAR/Command/Package.php
index 5ce356ff63..a95f45a1fd 100644
--- a/pear/PEAR/Command/Package.php
+++ b/pear/PEAR/Command/Package.php
@@ -2,6 +2,7 @@
require_once 'PEAR/Command/Common.php';
require_once 'PEAR/Packager.php';
+require_once 'PEAR/Common.php';
class PEAR_Command_Package extends PEAR_Command_Common
{
@@ -28,7 +29,9 @@ class PEAR_Command_Package extends PEAR_Command_Common
*/
function getCommands()
{
- return array('package', 'package-list', 'package-info');
+ return array('package',
+ 'package-list',
+ 'package-info');
}
// }}}
@@ -80,7 +83,6 @@ class PEAR_Command_Package extends PEAR_Command_Common
// {{{ package-list
case 'package-list': {
- include_once "PEAR/Common.php";
$obj = new PEAR_Common();
if (PEAR::isError($info = $obj->infoFromTgzFile($params[0]))) {
return $info;
@@ -125,7 +127,6 @@ class PEAR_Command_Package extends PEAR_Command_Common
// {{{ package-info
case 'package-info': {
- include_once "PEAR/Common.php";
$obj = new PEAR_Common();
if (PEAR::isError($info = $obj->infoFromTgzFile($params[0]))) {
return $info;