From 84a1428bf7f9d8c5b80586aff00c70954266b380 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Thu, 1 Oct 2009 17:09:49 +0000 Subject: [PATCH] - removed default timezone setting --- change_log.txt | 1 + libs/Smarty.class.php | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) 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))