logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: pearweb /public_html go-pear: msg#00036

Subject: cvs: pearweb /public_html go-pear
pajoye          Sun Apr 16 22:08:40 2006 UTC

  Modified files:              
    /pearweb/public_html        go-pear 
  Log:
  - silent warning when safe_mode is on
  
  
http://cvs.php.net/viewcvs.cgi/pearweb/public_html/go-pear?r1=1.81&r2=1.82&diff_format=u
Index: pearweb/public_html/go-pear
diff -u pearweb/public_html/go-pear:1.81 pearweb/public_html/go-pear:1.82
--- pearweb/public_html/go-pear:1.81    Sat Mar 11 14:15:20 2006
+++ pearweb/public_html/go-pear Sun Apr 16 22:08:40 2006
@@ -18,7 +18,7 @@
 # |          Pierre-Alain Joye <pajoye@xxxxxxxxxx>                       |
 # |          Greg Beaver <cellog@xxxxxxx>                                |
 # +----------------------------------------------------------------------+
-# $Id: go-pear,v 1.81 2006/03/11 14:15:20 pajoye Exp $
+# $Id: go-pear,v 1.82 2006/04/16 22:08:40 pajoye Exp $
 #
 # Automatically download all the files needed to run the "pear" command
 # (the PEAR package installer).  Requires PHP 4.1.0 or newer.
@@ -95,7 +95,12 @@
 }
 
 $sapi_name = php_sapi_name();
-set_time_limit(0);
+
+$safe_mode = (bool)ini_get('safe_mode');
+if (!$safe_mode) {
+    set_time_limit(0);
+}
+
 @ob_end_clean();
 ob_implicit_flush(true);
 define('WEBINSTALLER', ($sapi_name != 'cli' && !(substr($sapi_name,0,3)=='cgi' 
&& !isset($_SERVER['GATEWAY_INTERFACE']))));

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>