Re: [SMARTY] Relative includes?

From: Date: Tue, 21 Dec 2004 16:57:08 +0000
Subject: Re: [SMARTY] Relative includes?
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12067@lists.php.net to get a copy of this message
Yes. Write your own compiler.include.php plugin. It shouldn't be too hard. cheers, Travis messju mohr wrote:
On Tue, Dec 21, 2004 at 12:53:05PM +0100, Dieter Erdmann wrote:
Hi, I'm having trouble with the Smarty include command. This is my directory structure:
[...]
It seems that the include path is always relative to the 'templates' root directory instead of the current directory (i.e. the directory of the current template). Is there a way to get local includes working?
as far as i know: no.
thx Dieter
-- Travis Low <mailto:travis@dawnstar.com> <http://www.dawnstar.com>

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