Re: appending to include_path
| From: | Jason Wong | Date: | Wed, 27 Feb 2002 19:28:05 +0000 |
| Subject: | Re: appending to include_path | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86461@lists.php.net to get a copy of this message | ||
On Wed, 27 Feb 2002, darcy w. christ wrote:
> Jason Wong wrote:
> >
> > On Thursday 28 February 2002 02:30, darcy w. christ wrote:
> > > Hi Jason,
> > >
> > > i think you misunderstood what i was asking. i am doing exactly what
> > > you described below. My question is whether there is a way to not
> > > overwrite the include_path variable, but instead to append certain paths
> > > within my virtual server's setup to the master include_path that is
> > > setup in my php.ini file.
> >
> > My apologies :)
> >
> > Not sure how you can do it from the setup. But from within php there are
> > functions to retrieve and set the include path.
>
> i see the get_cfg_var, but i'm not sure what to use to set that
> variable. Any suggestions?
I think ini_get() & ini_set() is what you want.
--
Jason Wong