- implemented caching of registered Resources

- new property 'auto_literal'. if true(default)  '{ ' and ' }' interpreted as literal, not as Smarty delimiter
This commit is contained in:
Uwe.Tews
2009-08-29 16:29:52 +00:00
parent a13ae6628c
commit bfefb8e017
9 changed files with 762 additions and 755 deletions
-9
View File
@@ -1,12 +1,4 @@
<?php
function _get_time()
{
$_mtime = microtime();
$_mtime = explode(" ", $_mtime);
return (double)($_mtime[1]) + (double)($_mtime[0]);
}
$start=_get_time();
require('../libs/Smarty.class.php');
$smarty = new Smarty;
@@ -34,5 +26,4 @@ $smarty->assign("option_output", array("New York","Nebraska","Kansas","Iowa","Ok
$smarty->assign("option_selected", "NE");
$smarty->display('index.tpl');
echo _get_time()-$start;
?>