remove caching logic

This commit is contained in:
mohrt
2001-01-02 20:04:46 +00:00
parent 9f1b6c014c
commit 6b3e0d34ad
6 changed files with 18 additions and 20 deletions

View File

@@ -58,15 +58,6 @@ class Smarty
);
var $global_assign = array( 'SCRIPT_NAME'
);
var $cache_enable = true; // turn template cache on/off
var $cache_dir = ""; // the directory path where
// cached templates are placed.
// if empty, uses compile directory
var $cache_exp_time = 3600; // number of seconds cache is good for
// internal vars
var $_error_msg = false; // error messages

View File

@@ -12,6 +12,10 @@ $smarty->assign("Class",array(array("A","B","C","D"), array("E", "F", "G", "H"),
$smarty->display("./templates/index.tpl");
print "\ndone\n";
function test_insert()
{
print "<br>this is a test for the insert function<br>\n";
}
?>

View File

@@ -20,3 +20,7 @@ My interests are:
{/section}
({$FirstName|@count})
{insert name=test_insert}
{insert name=test_insert}
{insert name=test_insert}

View File

@@ -12,6 +12,10 @@ $smarty->assign("Class",array(array("A","B","C","D"), array("E", "F", "G", "H"),
$smarty->display("./templates/index.tpl");
print "\ndone\n";
function test_insert()
{
print "<br>this is a test for the insert function<br>\n";
}
?>

View File

@@ -58,15 +58,6 @@ class Smarty
);
var $global_assign = array( 'SCRIPT_NAME'
);
var $cache_enable = true; // turn template cache on/off
var $cache_dir = ""; // the directory path where
// cached templates are placed.
// if empty, uses compile directory
var $cache_exp_time = 3600; // number of seconds cache is good for
// internal vars
var $_error_msg = false; // error messages

View File

@@ -20,3 +20,7 @@ My interests are:
{/section}
({$FirstName|@count})
{insert name=test_insert}
{insert name=test_insert}
{insert name=test_insert}