cvs: pearweb /public_html go-pear
| From: | Tomas V.V.Cox | Date: | Sun, 16 Jun 2002 14:27:15 +0000 |
| Subject: | cvs: pearweb /public_html go-pear | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4648@lists.php.net to get a copy of this message | ||
cox Sun Jun 16 10:27:15 2002 EDT
Modified files:
/pearweb/public_html go-pear
Log:
Moved the ini settings to top, removed the while(ob_get_level() ...
Index: pearweb/public_html/go-pear
diff -u pearweb/public_html/go-pear:1.18 pearweb/public_html/go-pear:1.19
--- pearweb/public_html/go-pear:1.18 Sun Jun 16 02:04:40 2002
+++ pearweb/public_html/go-pear Sun Jun 16 10:27:15 2002
@@ -16,7 +16,7 @@
# | Stig Sæther Bakken <stig@php.net> |
# +----------------------------------------------------------------------+
#
-# $Id: go-pear,v 1.18 2002/06/16 06:04:40 cox Exp $
+# $Id: go-pear,v 1.19 2002/06/16 14:27:15 cox Exp $
#
# Automatically download all the files needed to run the "pear" command
# (the PEAR package installer). Requires PHP 4.1.0 or newer.
@@ -36,7 +36,13 @@
# headers in the output.
#
-while (ob_get_level() > 0) ob_end_flush();
+set_time_limit(0);
+ob_implicit_flush(true);
+ini_set('track_errors', true);
+ini_set('implicit_flush', true);
+ini_set('html_errors', false);
+ini_set('magic_quotes_runtime', false);
+error_reporting(E_ALL & ~E_NOTICE);
if (!function_exists("version_compare")) {
die(
@@ -61,14 +67,6 @@
");
}
-
-set_time_limit(0);
-ob_implicit_flush(true);
-ini_set('track_errors', true);
-ini_set('implicit_flush', true);
-ini_set('html_errors', false);
-ini_set('magic_quotes_runtime', false);
-error_reporting(E_ALL & ~E_NOTICE);
define('WINDOWS', (substr(PHP_OS, 0, 3) == 'WIN'));