Re: include_path optional
| From: | Monte Ohrt | Date: | Thu, 01 Feb 2001 19:59:59 +0000 |
| Subject: | Re: include_path optional | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-33@lists.php.net to get a copy of this message | ||
Pablo Martinez wrote:
>
> Monte,
>
> One of the limitations I find with using the include_path in the php.ini
> file is that it assumes something about the web server (i.e. that you have
> access to php.ini to begin with). Just a suggestion: it would be nice to
> have the paths part of the smarty class. The class variables allow you to
> set relative paths or absolute paths, but even then, the include_path must
> be set since the compiled template assumes that any file to be included will
> be in the path.
>
You can change your include_path within your PHP application with
ini_set();