Re: [SMARTY] Re: new user install problem
| From: | Steve | Date: | Thu, 06 Feb 2003 16:43:10 +0000 |
| Subject: | Re: [SMARTY] Re: new user install problem | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7553@lists.php.net to get a copy of this message | ||
In article <1044548750.2182.26.camel@lena.ispi.prv>,
monte@ispi.net (Monte Ohrt) wrote:
> >
> > > if everything else works fine, put an '@' before the call to file_exists()
> > > in line 2660. i think there was one in Smarty-2.3.1.
> >
> > Mmm.. yes, that does it! No idea exactly *what* it does.. but it works;)
>
> "@" just supresses the error message. Smarty must be looking for a file
> in your include_path, and you have a path that is outside of your
> open_basedir setting in php.ini.
Thanks for clearing that up. So it would be better to really solve the
problem to avoid possible future problems, I guess?
If I understand it correctly setting the include_path to the smarty
directory with ini_set() is the real solution. Can I add that in the
Smarty.Class.php or should I do it in the application somehow?
Steve
--
steve@conceptualthink.com