summaryrefslogtreecommitdiff
path: root/demo/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'demo/index.php')
-rw-r--r--demo/index.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/demo/index.php b/demo/index.php
index 0da1b9d8..8bada438 100644
--- a/demo/index.php
+++ b/demo/index.php
@@ -6,13 +6,11 @@ $smarty = new Smarty;
//$smarty->force_compile = true;
-//$smarty->debugging = true;
+$smarty->debugging = true;
$smarty->caching = true;
-$smarty->caching_lifetime = 120;
+$smarty->cache_lifetime = 120;
-
-
-$smarty->assign("Name","Fred Irving Johnathan Bradley Peppergill");
+$smarty->assign("Name","Fred Irving Johnathan Bradley Peppergill",true);
$smarty->assign("FirstName",array("John","Mary","James","Henry"));
$smarty->assign("LastName",array("Doe","Smith","Johnson","Case"));
$smarty->assign("Class",array(array("A","B","C","D"), array("E", "F", "G", "H"),