diff options
| author | Sascha Schumann <sas@php.net> | 2001-04-09 15:47:19 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2001-04-09 15:47:19 +0000 |
| commit | 466c226415405a462af2ee61bbe46ea1eebea80c (patch) | |
| tree | dcbb25dc28cc76d2b73a7aadf9cba7aed0b730cd /pear | |
| parent | d85be2956ce1bec342e18772993634468232a9dc (diff) | |
| download | php-git-466c226415405a462af2ee61bbe46ea1eebea80c.tar.gz | |
Revert mega patch.
This patch has at least the following deficiences:
- the CGI is built using objects from another SAPI module.
This usually results in unsatisfied symbol references.
- the CGI makefile is not created properly
- building CGI cannot be disabled
Diffstat (limited to 'pear')
| -rw-r--r-- | pear/PEAR.php.in | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/pear/PEAR.php.in b/pear/PEAR.php.in index fbcd8faf20..4eeda33209 100644 --- a/pear/PEAR.php.in +++ b/pear/PEAR.php.in @@ -27,19 +27,8 @@ define('PEAR_ERROR_DIE', 8); define('PEAR_ERROR_CALLBACK', 16); define('PHP_BINDIR', '@prefix@/bin'); -define('PEAR_INSTALL_DIR', '@EXPANDED_PEAR_INSTALLDIR@'); -define('PEAR_EXTENSION_DIR', '@EXPANDED_EXTENSION_DIR@'); -define('PHP_LOCALSTATEDIR', '@EXPANDED_LOCALSTATEDIR@'); - -if (substr(php_uname(), 0, 7) == 'Windows') { - define('OS_WINDOWS', true); - define('OS_UNIX', false); - define('PEAR_OS', 'Windows'); -} else { - define('OS_WINDOWS', false); - define('OS_UNIX', true); - define('PEAR_OS', 'Unix'); // not exactly true, but... -} +define('PEAR_INSTALL_DIR', '@PEAR_INSTALLDIR@'); +define('PEAR_EXTENSION_DIR', '@EXTENSION_DIR@'); $_PEAR_default_error_mode = PEAR_ERROR_RETURN; $_PEAR_default_error_options = E_USER_NOTICE; |
