summaryrefslogtreecommitdiff
path: root/lang/php4/files/patch-pear::scripts::pearcmd.php
blob: b3b74f72f147005028ab6bb6c1353edcd3c8cabb (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: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,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);