summaryrefslogtreecommitdiff
path: root/pear/PEAR.php.in
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-04-09 15:47:19 +0000
committerSascha Schumann <sas@php.net>2001-04-09 15:47:19 +0000
commit466c226415405a462af2ee61bbe46ea1eebea80c (patch)
treedcbb25dc28cc76d2b73a7aadf9cba7aed0b730cd /pear/PEAR.php.in
parentd85be2956ce1bec342e18772993634468232a9dc (diff)
downloadphp-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/PEAR.php.in')
-rw-r--r--pear/PEAR.php.in15
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;