summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2002-06-25 13:45:29 +0000
committerTomas V.V.Cox <cox@php.net>2002-06-25 13:45:29 +0000
commitba7bdbdb6518b9c987a51ab3a30c4fdc8c6be49c (patch)
tree57e0c4fca670354121dfb4e410f979453c829400
parentd68707a2c97860b4c2fb7214f2314908a6395399 (diff)
downloadphp-git-ba7bdbdb6518b9c987a51ab3a30c4fdc8c6be49c.tar.gz
change the include_path setting to be in the php space instead
of doing in the interpreter line (seems to break FreeBSD)
-rw-r--r--pear/scripts/pear.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/pear/scripts/pear.in b/pear/scripts/pear.in
index f70fce65f9..d075a8d449 100644
--- a/pear/scripts/pear.in
+++ b/pear/scripts/pear.in
@@ -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);