mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +02:00
- removed default timezone setting
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
10/01/2009
|
10/01/2009
|
||||||
|
- removed default timezone setting
|
||||||
- reactivated PHP resource for simple PHP templates. Must set allow_php_templates = true to enable
|
- 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
|
- {PHP} tag can be enabled by allow_php_tag = true
|
||||||
|
|
||||||
|
@@ -215,9 +215,6 @@ class Smarty extends Smarty_Internal_TemplateBase {
|
|||||||
if (is_callable('mb_internal_encoding')) {
|
if (is_callable('mb_internal_encoding')) {
|
||||||
mb_internal_encoding(SMARTY_RESOURCE_CHAR_SET);
|
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();
|
$this->start_time = $this->_get_time();
|
||||||
// set exception handler
|
// set exception handler
|
||||||
if (!empty($this->exception_handler))
|
if (!empty($this->exception_handler))
|
||||||
|
Reference in New Issue
Block a user