summaryrefslogtreecommitdiff
path: root/lang/php4/files/patch-pear::scripts::pearcmd.php
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php4/files/patch-pear::scripts::pearcmd.php')
-rw-r--r--lang/php4/files/patch-pear::scripts::pearcmd.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/php4/files/patch-pear::scripts::pearcmd.php b/lang/php4/files/patch-pear::scripts::pearcmd.php
index e7397d32e05d..b3b74f72f147 100644
--- a/lang/php4/files/patch-pear::scripts::pearcmd.php
+++ b/lang/php4/files/patch-pear::scripts::pearcmd.php
@@ -1,11 +1,11 @@
---- pear/scripts/pearcmd.php.orig Fri May 16 17:31:37 2003
-+++ pear/scripts/pearcmd.php Fri May 16 17:36:10 2003
+--- pear/scripts/pearcmd.php.orig Mon Mar 28 18:57:01 2005
++++ pear/scripts/pearcmd.php Tue Nov 15 23:25:55 2005
@@ -1,3 +1,4 @@
+#!%%PREFIX%%/bin/php -nq
<?php
//
// +----------------------------------------------------------------------+
-@@ -24,9 +25,9 @@
+@@ -24,9 +25,10 @@
/**
* @nodep Gtk
*/
@@ -15,6 +15,7 @@
+dl('pcre.so');
+dl('xml.so');
+ini_set('include_path', '%%PREFIX%%/share/pear:%%PREFIX%%/share/pear/bootstrap');
++ini_set('memory_limit', '16M');
ini_set('allow_url_fopen', true);
- set_time_limit(0);
- ob_implicit_flush(true);
+ if (!ini_get('safe_mode')) {
+ @set_time_limit(0);