Re: [SMARTY] Re: fetch aboslute path

From: Date: Mon, 10 Mar 2003 21:44:30 +0000
Subject: Re: [SMARTY] Re: fetch aboslute path
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8540@lists.php.net to get a copy of this message
On 10 Mar 2003 21:38:38 +0100, Juzan Jean-Michel wrote: > echo $smarty->fetch('/www/smarty/templ.tpl'); > or > echo $smarty->fetch('templ.tpl'); > or > $output = $smarty->fetch('templ.tpl'); > echo $output; lol, no no no... I already figured it out $smarty->fetch('file:/www/smarty/templ.tpl') done My problem was that it was looking at $template_dir as the root of all templates, but once again... smarty had that covered... -- Tom Sommer, denmark www.tsn.dk - www.dreamcoder.dk

« previous php.smarty.general (#8540) next »