mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-31 12:21:36 +01:00 
			
		
		
		
	- added $foo@first and $foo@last properties at {for} tag
- added $set_timezone (true/false) property to setup optionally the default time zone
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			417 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			417 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| /**
 | |
| * Smarty method disableConfigOverwrite
 | |
| * 
 | |
| * Disable config overwrite mode
 | |
| * 
 | |
| * @package Smarty
 | |
| * @subpackage SmartyMethod
 | |
| * @author Uwe Tews 
 | |
| */
 | |
| 
 | |
| /**
 | |
| * Smarty class disableConfigOverwrite
 | |
| * 
 | |
| * Disable config overwrite mode
 | |
| */
 | |
| class Smarty_Method_disableConfigOverwrite extends Smarty_Internal_Base {
 | |
|     public function execute()
 | |
|     {
 | |
|         return $this->smarty->config_overwrite = false;
 | |
|     } 
 | |
| } 
 | |
| 
 | |
| ?>
 |