diff --git a/change_log.txt b/change_log.txt index deaf20af..7bf61976 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,5 @@ 10/01/2009 +- removed default timezone setting - reactivated PHP resource for simple PHP templates. Must set allow_php_templates = true to enable - {PHP} tag can be enabled by allow_php_tag = true diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 89debee6..ff54eaf1 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -215,9 +215,6 @@ class Smarty extends Smarty_Internal_TemplateBase { if (is_callable('mb_internal_encoding')) { mb_internal_encoding(SMARTY_RESOURCE_CHAR_SET); } - if (function_exists("date_default_timezone_set")) { - date_default_timezone_set(date_default_timezone_get()); - } $this->start_time = $this->_get_time(); // set exception handler if (!empty($this->exception_handler))