1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/lang/php4/files/patch-pear::scripts::pearcmd.php
Norikatsu Shigemura 18ea1afefe Add completely new port system for PHP4 (4.3.2RC4). Updated mod_php4
to 4.3.2RC4 release and added php4-cli and php4 ports, for apache
module, command line interface, and both, respectively.  Too many
changes (improvements, bug fixes and new features) to be listed here,

PR:		ports/51945
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-05-22 18:26:28 +00:00

19 lines
586 B
PHP

--- pear/scripts/pearcmd.php.orig Fri May 16 17:31:37 2003
+++ pear/scripts/pearcmd.php Fri May 16 17:36:10 2003
@@ -1,3 +1,4 @@
+#!%%PREFIX%%/bin/php -n -dsafe_mode=0 -doutput_buffering=1
<?php
//
// +----------------------------------------------------------------------+
@@ -24,9 +25,7 @@
/**
* @nodep Gtk
*/
-if ('@include_path@' != '@'.'include_path'.'@') {
- ini_set('include_path', '@include_path@');
-}
+ini_set('include_path', '%%PREFIX%%/share/pear:%%PREFIX%%/share/pear/bootstrap');
ini_set('allow_url_fopen', true);
set_time_limit(0);
ob_implicit_flush(true);