Re: Hidden include_path Fall Back?
| From: | imacat | Date: | Thu, 09 Aug 2007 10:11:22 +0000 |
| Subject: | Re: Hidden include_path Fall Back? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260504@lists.php.net to get a copy of this message | ||
On Wed, 8 Aug 2007 23:56:34 -0500 (CDT)
"Richard Lynch" <ceo@l-i-e.com> wrote:
> The default of php.ini starts with '.' in the first place, I think, so
> unless you go out of your way to change it, you'll get '.' from a
> fresh install anyway.
>
> I personally would not rely on the behaviour of the code unless you
> can find Documentation on http://php.net that says it will work
> this
> way.
>
> It cannot be that hard to append/prepend '.:' yourself to the
> include_path...
I agree with this. Personally I do not like the idea of having "."
in the search path since I may get different files in different
directories. And coders should not depend on undocumented features. I
shall file a documentation bug onto bugs.php.net.
Thank you for your kind help.
--
imacat ^_*'
imacat@mail.imacat.idv.tw
PGP Key: http://www.imacat.idv.tw/me/pgpkey.asc
Tavern IMACAT's http://www.imacat.idv.tw/
Woman's Voice http://www.wov.idv.tw/
TLUG List Manager http://www.linux.org.tw/mailman/listinfo/tlug
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]