From 121e0e628706a1a49a0e76337cb7ccd197676e2f Mon Sep 17 00:00:00 2001 From: messju Date: Fri, 16 Apr 2004 08:06:40 +0000 Subject: [PATCH] reverted Stuff --- libs/Smarty.class.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 6fad570f..37203326 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -183,9 +183,6 @@ class Smarty */ var $cache_modified_check = false; - var $volatile_plugins = array('volatile'=>true, - 'insert_f' => '*'); - /** * This determines how Smarty handles "" tags in templates. * possible values: @@ -1226,14 +1223,6 @@ class Smarty header("Last-Modified: ".gmdate('D, d M Y H:i:s', time()).' GMT'); } } - - if (isset($this->_cache_info['expires'])) { - $expires = $this->_cache_info['expires']; - } else { - $expires = 0; - } - header("Expires: " . gmdate('D, d M Y H:i:s', $expires) . ' GMT'); - } // load filters that are marked as autoload @@ -1458,7 +1447,7 @@ class Smarty } - $smarty_compiler =& new $this->compiler_class(); + $smarty_compiler = new $this->compiler_class; $smarty_compiler->template_dir = $this->template_dir; $smarty_compiler->compile_dir = $this->compile_dir;