diff options
author | Greg Beaver <cellog@php.net> | 2004-04-30 16:37:39 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2004-04-30 16:37:39 +0000 |
commit | 11be5f887be0e15ebe9e595e739fea6f010c0156 (patch) | |
tree | 6d0f1dd095fd46390bfd06b5d2510d2c33c44e8c /pear | |
parent | 91e9545f4ff5b92bc8c8699c8111bfa663b544a5 (diff) | |
download | php-git-11be5f887be0e15ebe9e595e739fea6f010c0156.tar.gz |
fix included files and put error messages in PEAR_Downloader where they are needed
Diffstat (limited to 'pear')
-rw-r--r-- | pear/PEAR/Downloader.php | 6 | ||||
-rw-r--r-- | pear/PEAR/Installer.php | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/pear/PEAR/Downloader.php b/pear/PEAR/Downloader.php index 56182d2b66..abb1a89d45 100644 --- a/pear/PEAR/Downloader.php +++ b/pear/PEAR/Downloader.php @@ -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. diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php index f998d4c751..0963dbd1f7 100644 --- a/pear/PEAR/Installer.php +++ b/pear/PEAR/Installer.php @@ -20,16 +20,7 @@ // // $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 |