cvs: smarty /libs Smarty.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1082102802@cvsserver>
messju		Fri Apr 16 04:06:42 2004 EDT

  Modified files:              
    /smarty/libs	Smarty.class.php 
  Log:
  reverted Stuff
  
http://cvs.php.net/diff.php/smarty/libs/Smarty.class.php?r1=1.486&r2=1.487&ty=u
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.486 smarty/libs/Smarty.class.php:1.487
--- smarty/libs/Smarty.class.php:1.486	Fri Apr 16 03:53:36 2004
+++ smarty/libs/Smarty.class.php	Fri Apr 16 04:06:40 2004
@@ -30,7 +30,7 @@
  * @version 2.6.3-dev
  */
 
-/* $Id: Smarty.class.php,v 1.486 2004/04/16 07:53:36 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.487 2004/04/16 08:06:40 messju Exp $ */
 
 /**
  * DIR_SEP isn't used anymore, but third party apps might
@@ -183,9 +183,6 @@
      */
     var $cache_modified_check = false;
 
-    var $volatile_plugins = array('volatile'=>true,
-                                  'insert_f' => '*');
-
     /**
      * This determines how Smarty handles "<?php ... ?>" tags in templates.
      * possible values:
@@ -1226,14 +1223,6 @@
                     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 @@
         }
 
 
-        $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;

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.