Re: set_include_path() isn't persistent
| From: | Justin French | Date: | Mon, 08 Nov 2004 14:39:03 +0000 |
| Subject: | Re: set_include_path() isn't persistent | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201530@lists.php.net to get a copy of this message | ||
On 09/11/2004, at 1:26 AM, John Nichel wrote:
Justin French wrote:Figured as much... the catch is that I'd rather not have to explicitly set the path in htaccess (eg "/usr/home/foo/public/bah/"), but can't find a way yet to set a relative path in htaccess (eg "../" for "one level up from this htaccess file). Any ideas? JustinHi, Experimenting with set_include_path(), but it would appear that it doesn't persist for the duration of the request, just the current script. That is to say, an included file will not inherit the include_path() of the parent file. Is there any way to persist this without re-setting it on each file? Justin.htaccess or in the httpd.conf