From dee55bfcf6bf80b7ca8eb7782a7e39f53b260706 Mon Sep 17 00:00:00 2001 From: mohrt Date: Tue, 30 Jan 2001 22:08:02 +0000 Subject: [PATCH] changed default expire to 3600 --- Smarty.class.php | 2 +- libs/Smarty.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Smarty.class.php b/Smarty.class.php index cbacc918..f0bb56cd 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -58,7 +58,7 @@ class Smarty // is available, that will be used regardless // of compile settings. var $cache_engine = true; // whether to use caching or not. true/false - var $cache_expire = 5; // number of seconds cached content will expire. + var $cache_expire = 3600; // number of seconds cached content will expire. // 0 = never expires. default is one hour (3600) var $cache_force = false; // force caches to expire every time. true/false var $allow_url_cache = true; // allow forced cache expire from URL ?cache_force=1 diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index cbacc918..f0bb56cd 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -58,7 +58,7 @@ class Smarty // is available, that will be used regardless // of compile settings. var $cache_engine = true; // whether to use caching or not. true/false - var $cache_expire = 5; // number of seconds cached content will expire. + var $cache_expire = 3600; // number of seconds cached content will expire. // 0 = never expires. default is one hour (3600) var $cache_force = false; // force caches to expire every time. true/false var $allow_url_cache = true; // allow forced cache expire from URL ?cache_force=1