mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 09:54:27 +02:00
remove caching logic
This commit is contained in:
@@ -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
|
||||
|
@@ -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";
|
||||
|
||||
}
|
||||
?>
|
||||
|
@@ -20,3 +20,7 @@ My interests are:
|
||||
{/section}
|
||||
|
||||
({$FirstName|@count})
|
||||
|
||||
{insert name=test_insert}
|
||||
{insert name=test_insert}
|
||||
{insert name=test_insert}
|
||||
|
@@ -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";
|
||||
|
||||
}
|
||||
?>
|
||||
|
@@ -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
|
||||
|
@@ -20,3 +20,7 @@ My interests are:
|
||||
{/section}
|
||||
|
||||
({$FirstName|@count})
|
||||
|
||||
{insert name=test_insert}
|
||||
{insert name=test_insert}
|
||||
{insert name=test_insert}
|
||||
|
Reference in New Issue
Block a user