Re: Trouble setting include_path
| From: | Torsten Roehr | Date: | Mon, 03 May 2004 09:58:47 +0000 |
| Subject: | Re: Trouble setting include_path | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185178@lists.php.net to get a copy of this message | ||
"Jordi Canals" <llistes@jcanals.net> wrote in message
news:409614ED.70202@jcanals.net...
> Pablo Gosse wrote:
>
> > <snip>
> > You can set set the include_path using the php function ini_set().
> > </snip>
> >
>
> Also you can use the set_include_path() function. It's the way I usually
> set the path to includes ..
Just a note: set_include_path() is only available from PHP 4.3.0 upwards. So
this might not be an option for everyone. Otherwise just use
in_set('include_path', 'path');
Regards, Torsten
>
> Regards,
> Jordi.