Re: [PHP] best way to set up an include path for a multi-level project?

[email protected] (Ryan Sun)
Newsgroups php.general
Message-ID <[email protected]>
On Tue, Mar 16, 2010 at 1:57 PM, Robert P. J. Day <[email protected]> wrote:
>
> and all PHP scripts would start off with something like:
>
> set_include_path(get_include_path() . PATH_SEPARATOR . getenv('PROJ_DIR'));
>

just utilize include_path directive in php.ini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.