]> granicus.if.org Git - php/commitdiff
fix included files and put error messages in PEAR_Downloader where they are needed
authorGreg Beaver <cellog@php.net>
Fri, 30 Apr 2004 16:37:39 +0000 (16:37 +0000)
committerGreg Beaver <cellog@php.net>
Fri, 30 Apr 2004 16:37:39 +0000 (16:37 +0000)
pear/PEAR/Downloader.php
pear/PEAR/Installer.php

index 56182d2b667f8c067b19908f68625af249d5ee01..abb1a89d453889a88265cb9e7e6fc733e72c079a 100644 (file)
@@ -26,6 +26,12 @@ require_once 'PEAR/Dependency.php';
 require_once 'PEAR/Remote.php';
 require_once 'System.php';
 
+
+define('PEAR_INSTALLER_OK',       1);
+define('PEAR_INSTALLER_FAILED',   0);
+define('PEAR_INSTALLER_SKIPPED', -1);
+define('PEAR_INSTALLER_ERROR_NO_PREF_STATE', 2);
+
 /**
  * Administration class used to download PEAR packages and maintain the
  * installed package database.
index f998d4c7517adf811e198042198a613f0af2cdbf..0963dbd1f7feeb612d71ee8f6493dbe32d271633 100644 (file)
 //
 // $Id$
 
-require_once 'PEAR/Common.php';
-require_once 'PEAR/Registry.php';
-require_once 'PEAR/Dependency.php';
 require_once 'PEAR/Downloader.php';
-require_once 'System.php';
-
-define('PEAR_INSTALLER_OK',       1);
-define('PEAR_INSTALLER_FAILED',   0);
-define('PEAR_INSTALLER_SKIPPED', -1);
-define('PEAR_INSTALLER_ERROR_NO_PREF_STATE', 2);
 
 /**
  * Administration class used to install PEAR packages and maintain the