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

From: Date: Thu, 08 May 2003 11:28:07 +0000
Subject: Re: [SMARTY-DEV] Compiled Template file names with $use_sub_dirs = false
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1424@lists.php.net to get a copy of this message
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... 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 > >

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