Re: [SMARTY-DEV] Compiled Template file names with $use_sub_dirs = false

From: Date: Thu, 19 Jun 2003 00:16:54 +0000
Subject: Re: [SMARTY-DEV] Compiled Template file names with $use_sub_dirs = false
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1622@lists.php.net to get a copy of this message
On Thu, May 08, 2003 at 01:28:07PM +0200, Wom.bat wrote: > Just thougt about the whole thing again... > I guess it would be best if the original names would be retained... > i.e. if i name my template "foo.template", it should be "foo.template" in > templates_c dir, too, regardless of the $use_sub_dirs setting... i agree that the names should not be touched (as it was with use_sub_dirs==false). they have a constant extension now (regardless of the setting of $use_sub_dirs) in favour of being able to map more than one compiled file to a template. greetings messju > David > > > Hi :) > > I just recognized that compiled templates don't have a .php extension if I > > have $smarty->use_sub_dirs set to false... > > Is this a feature? ;) > > Would be nice if they had .php extension, as then for example PHP Syntax > > Highlighting would work better in some Editors etc... > > And it's a question of consistency, too, because with > $smarty->use_sub_dirs > > = true, compiled templates do have .php extensions... > > > > :) > > David > > > > P.S: why isn't there a (un)register_insert() function? :) > > > > > > > > -- > > Smarty Development Mailing List (http://smarty.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > Smarty Development Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.dev (#1622) next »