Compiled Template file names with $use_sub_dirs = false
| From: | Wom.bat | Date: | Wed, 07 May 2003 19:21:56 +0000 |
| Subject: | Compiled Template file names with $use_sub_dirs = false | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1419@lists.php.net to get a copy of this message | ||
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? :)