Re:RE: The problem with Smarty
| From: | Monte Ohrt | Date: | Sun, 17 Feb 2002 22:36:33 +0000 |
| Subject: | Re:RE: The problem with Smarty | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2718@lists.php.net to get a copy of this message | ||
I got it. Version 1.5.2 and lower needs the config directory present if the
value is set. This behavior was changed with the plugin architecture. To fix
your problem, set the config_dir path to empty.
> -----Original Message-----
> From: Peter Bowyer [mailto:reywob@f2s.com]
> Sent: Sunday, February 17, 2002 3:38 PM
> To: smarty@lists.ispi.net
> Subject: [smarty] Re:RE: The problem with Smarty
>
>
> At 03:23 PM 2/17/02 -0600, Monte Ohrt wrote:
> >I don't think the cache and config directories are required if
> you don't use
> >them. I just ran a test, I did not create the cache or config directories
> >and the test ran just fine with no errors. By default, the
> config_dir is set
> >to "./configs" which shouldn't be used unless you call
> {config_load ...} in
> >your template. If you do call {config_load ...} and there is no
> "./configs"
> >directory located in the same directory as the executed script, then you
> >will see this error.
>
> But the "./configs" directory exists *and* I don't use
> config_load anywhere
> in my templates. What's causing this problem?
>
> Peter.
>
> --oOo--
> Narrow Gauge on the web - photos, directory and forums!
> http://www.narrow-gauge.co.uk
> --oOo--
> Glenbranter - Scottish narrow gauge in 009
> http://glenbranter.narrow-gauge.co.uk
> --oOo--
>
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/