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