Re: newbie question about include_path
| From: | christopher at moewes dot com | Date: | Wed, 26 Jul 2000 15:49:09 +0000 |
| Subject: | Re: newbie question about include_path | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8340@lists.php.net to get a copy of this message | ||
You can add '.' to the include path. To add multiple include paths put
a ':' between entries. By adding '.' as the first entry it will always
look in the current directory for the include file then move onto the
other directoies listed. Also you can specifcy the full path for
includes (full from the actual system's root not just the web root)
Hope this helps.
On Wed, Jul 26, 2000 at 12:22:43PM -0400, David Banning wrote:
> I have to keep changing the include_path in php.ini to
> the directory I am working in. Is there a way around this?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
--
--
Christopher R. Moewes-Bystrom
cmoewes@moewes.com
http://www.moewes.com
http://www.linuxnovice.org