#18864023 : set default time zone (for php5.3)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7408 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-04-29 02:42:43 +00:00
parent ccd0c61c9f
commit 5600ba63c1

View file

@ -112,6 +112,14 @@
**/
require(_XE_PATH_.'config/func.inc.php');
/**
* @brief Set Timezone as server time
**/
if(version_compare(PHP_VERSION, '5.3.0') >= 0)
{
date_default_timezone_set(@date_default_timezone_get());
}
if(__DEBUG__) define('__StartTime__', getMicroTime());