Re: best way to set up an include path for a multi-level project?
| From: | Ryan Sun | Date: | Tue, 16 Mar 2010 20:48:39 +0000 |
| Subject: | Re: best way to set up an include path for a multi-level project? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302910@lists.php.net to get a copy of this message | ||
On Tue, Mar 16, 2010 at 1:57 PM, Robert P. J. Day <rpjday@crashcourse.ca> 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