aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php5/files/patch-pear::scripts::pearcmd.php
blob: e0898d9ed08aa1ef163a0dfb5a4ca679a580e936 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- pear/scripts/pearcmd.php.orig   Mon Mar 28 18:46:06 2005
+++ pear/scripts/pearcmd.php    Wed Nov 16 09:30:03 2005
@@ -1,3 +1,4 @@
+#!%%PREFIX%%/bin/php -nq
 <?php
 //
 // +----------------------------------------------------------------------+
@@ -24,9 +25,10 @@
 /**
  * @nodep Gtk
  */
-if ('@include_path@' != '@'.'include_path'.'@') {
-    ini_set('include_path', '@include_path@');
-}
+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);
 if (!ini_get('safe_mode')) {
     @set_time_limit(0);