Re: Template dirs
| From: | Monte Ohrt | Date: | Mon, 29 Oct 2001 15:45:58 +0000 |
| Subject: | Re: Template dirs | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1758@lists.php.net to get a copy of this message | ||
Yes, that is right. You must use file: on the front of template files
coming from outside the template directory.
Anders Janson wrote:
>
> Monte Ohrt wrote:
>
> > Hmm, no that should work. What is the error it give? Also, try these:
> >
> > $smarty->display('C:/dir/...');
> > $smarty->display('/dir/...');
> >
>
> Shouldn't that be "file:C:/...."??
> Otherwise, this would mean you want to use a template resource called "C".
>
> /Anders
>
> ---
> 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/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/