mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-31 20:31:41 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			428 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			428 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| /**
 | |
| * Smarty method enableDefaultTimezone
 | |
| * 
 | |
| * Enable setting of default timezone
 | |
| * 
 | |
| * @package Smarty
 | |
| * @subpackage SmartyMethod
 | |
| * @author Uwe Tews 
 | |
| */
 | |
| 
 | |
| /**
 | |
| * Smarty class enableDefaultTimezone
 | |
| * 
 | |
| * Enable setting of default timezone
 | |
| */
 | |
| class Smarty_Method_enableDefaultTimezone extends Smarty_Internal_Base {
 | |
|     public function execute()
 | |
|     {
 | |
|         $this->smarty->set_timezone = true;
 | |
|         return;
 | |
|     } 
 | |
| } 
 | |
| 
 | |
| ?>
 |