cvs: smarty /libs Smarty.class.php Smarty_Compiler.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1056931648@cvsserver>
messju		Sun Jun 29 20:07:28 2003 EDT

  Modified files:              
    /smarty/libs	Smarty_Compiler.class.php Smarty.class.php 
  Log:
  fixed handling of nocache-state
  
  
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.254 smarty/libs/Smarty_Compiler.class.php:1.255
--- smarty/libs/Smarty_Compiler.class.php:1.254	Tue Jun 24 05:39:37 2003
+++ smarty/libs/Smarty_Compiler.class.php	Sun Jun 29 20:07:27 2003
@@ -39,7 +39,7 @@
  * @package Smarty
  */
 
-/* $Id: Smarty_Compiler.class.php,v 1.254 2003/06/24 09:39:37 messju Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.255 2003/06/30 00:07:27 messju Exp $ */
 /**
  * Template compiling class
  * @package Smarty
@@ -80,7 +80,7 @@
 	var $_obj_params_regexp		=	null;
 	var $_obj_call_regexp		=	null;
 
-    var $_cacheable_state       =   true;
+    var $_cacheable_state       =   0;
     var $_nocache_count         =   0;
     var $_cache_serial          =   null;
     var $_cache_include         =   null;
Index: smarty/libs/Smarty.class.php
diff -u smarty/libs/Smarty.class.php:1.421 smarty/libs/Smarty.class.php:1.422
--- smarty/libs/Smarty.class.php:1.421	Sun Jun 29 18:57:33 2003
+++ smarty/libs/Smarty.class.php	Sun Jun 29 20:07:27 2003
@@ -42,7 +42,7 @@
  * @version 2.5.0-cvs
  */
 
-/* $Id: Smarty.class.php,v 1.421 2003/06/29 22:57:33 messju Exp $ */
+/* $Id: Smarty.class.php,v 1.422 2003/06/30 00:07:27 messju Exp $ */
 
 /**
  * DIR_SEP isn't used anymore, but third party apps might
@@ -570,6 +570,13 @@
      * @var array
      */
     var $_cache_serials = array();
+
+    /**
+     * name of optional cache include file
+     *
+     * @var string
+     */
+    var $_cache_include = null;
 
     /**
      * cached file paths



-- 
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.