mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-19 15:35:20 +02:00
26 lines
419 B
PHP
26 lines
419 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()
|
||
|
{
|
||
|
return $this->smarty->set_timezone = true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|