Re: [RFC] prepend_include_path()/append_include_path()
| From: | Pierre Joye | Date: | Wed, 13 Feb 2008 22:01:21 +0000 |
| Subject: | Re: [RFC] prepend_include_path()/append_include_path() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35461@lists.php.net to get a copy of this message | ||
Hi Lars,
On Feb 13, 2008 4:47 PM, Lars Strojny <lars@strojny.net> wrote:
> Hi everyone,
>
> the following patch[1] adds the functions append_include_path() and
> prepend_include_path(). These function are there to make include path
> adjustments easier than it is. Especially append_include_path() is what
> is done most of the time.
I don't think we need two new functions for:
set_include_path('/some/path' . DIRECTORY_SEPARATOR . get_include_path());
set_include_path(. get_include_path() . DIRECTORY_SEPARATOR . '/some/path' );
Thanks for your work anyway! :)
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org