cvs: php-src /pear/scripts pear.bat pearcmd.php
| From: | Greg Beaver | Date: | Sat, 13 Mar 2004 17:37:23 +0000 |
| Subject: | cvs: php-src /pear/scripts pear.bat pearcmd.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-185@lists.php.net to get a copy of this message | ||
cellog Sat Mar 13 12:37:23 2004 EDT
Modified files:
/php-src/pear/scripts pear.bat pearcmd.php
Log:
fix #1008: safe mode raises warning
fix register_argc_argv in pear.bat
http://cvs.php.net/diff.php/php-src/pear/scripts/pear.bat?r1=1.20&r2=1.21&ty=u
Index: php-src/pear/scripts/pear.bat
diff -u php-src/pear/scripts/pear.bat:1.20 php-src/pear/scripts/pear.bat:1.21
--- php-src/pear/scripts/pear.bat:1.20 Tue Feb 3 18:59:16 2004
+++ php-src/pear/scripts/pear.bat Sat Mar 13 12:37:23 2004
@@ -16,7 +16,7 @@
REM Authors: Alexander Merz (alexmerz@php.net)
REM ----------------------------------------------------------------------
REM
-REM $Id: pear.bat,v 1.18 2004/01/08 17:33:14 sniper Exp $
+REM Last updated 3/13/2004 ($Id$ is not replaced if the file is binary)
REM change this lines to match the paths of your system
REM -------------------
@@ -64,6 +64,6 @@
ECHO %PHP_PEAR_PHP_BIN%
GOTO END
:RUN
-"%PHP_PEAR_PHP_BIN%" -C -d output_buffering=1 -d
include_path="%PHP_PEAR_INSTALL_DIR%" -f "%PHP_PEAR_INSTALL_DIR%\pearcmd.php" --
%1 %2 %3 %4 %5 %6 %7 %8 %9
+"%PHP_PEAR_PHP_BIN%" -C -d output_buffering=1 -d register_argc_argv=On -d
include_path="%PHP_PEAR_INSTALL_DIR%" -f "%PHP_PEAR_INSTALL_DIR%\pearcmd.php" --
%1 %2 %3 %4 %5 %6 %7 %8 %9
:END
@ECHO ON
http://cvs.php.net/diff.php/php-src/pear/scripts/pearcmd.php?r1=1.9&r2=1.10&ty=u
Index: php-src/pear/scripts/pearcmd.php
diff -u php-src/pear/scripts/pearcmd.php:1.9 php-src/pear/scripts/pearcmd.php:1.10
--- php-src/pear/scripts/pearcmd.php:1.9 Sun Jan 25 20:59:14 2004
+++ php-src/pear/scripts/pearcmd.php Sat Mar 13 12:37:23 2004
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: pearcmd.php,v 1.9 2004/01/26 01:59:14 pajoye Exp $
+// $Id: pearcmd.php,v 1.10 2004/03/13 17:37:23 cellog Exp $
ob_end_clean();
/**
@@ -28,7 +28,9 @@
ini_set('include_path', '@include_path@');
}
ini_set('allow_url_fopen', true);
-set_time_limit(0);
+if (!ini_get('safe_mode')) {
+ set_time_limit(0);
+}
ob_implicit_flush(true);
ini_set('track_errors', true);
ini_set('html_errors', false);