]> granicus.if.org Git - php/commitdiff
change the include_path setting to be in the php space instead
authorTomas V.V.Cox <cox@php.net>
Tue, 25 Jun 2002 13:45:29 +0000 (13:45 +0000)
committerTomas V.V.Cox <cox@php.net>
Tue, 25 Jun 2002 13:45:29 +0000 (13:45 +0000)
of doing in the interpreter line (seems to break FreeBSD)

pear/scripts/pear.in

index f70fce65f97362b752bb8a8e1c4d9af881218b9e..d075a8d44946bd8bbce9a8e6a4f83c8b05e18780 100644 (file)
@@ -1,4 +1,4 @@
-#!@prefix@/bin/php -Cqd include_path=@include_path@
+#!@prefix@/bin/php -Cq
 <?php // -*- PHP -*-
 //
 // +----------------------------------------------------------------------+
@@ -24,6 +24,7 @@
 /**
  * @nodep Gtk
  */
+ini_set('include_path', '@include_path@');
 ini_set('allow_url_fopen', true);
 set_time_limit(0);
 ob_implicit_flush(true);