cvs: smarty /libs Smarty_Compiler.class.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1069855325@cvsserver>
messju		Wed Nov 26 09:02:05 2003 EDT

  Modified files:              
    /smarty/libs	Smarty_Compiler.class.php 
  Log:
  raise max_level for $smarty.config... to 3 to allow arrays of config-vars
  
  
  
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.299 smarty/libs/Smarty_Compiler.class.php:1.300
--- smarty/libs/Smarty_Compiler.class.php:1.299	Fri Nov 21 07:39:50 2003
+++ smarty/libs/Smarty_Compiler.class.php	Wed Nov 26 09:02:05 2003
@@ -39,7 +39,7 @@
  * @package Smarty
  */
 
-/* $Id: Smarty_Compiler.class.php,v 1.299 2003/11/21 12:39:50 messju Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.300 2003/11/26 14:02:05 messju Exp $ */
 
 /**
  * Template compiling class
@@ -1959,7 +1959,7 @@
 
             case 'config':
                 $compiled_ref = "\$this->_config[0]['vars']";
-                $_max_index = 2;
+                $_max_index = 3;
                 break;
 
             default:

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