commit scripts (for compatibility 5.3.x)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7437 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-05-11 09:46:40 +00:00
parent 88b3ff36c8
commit 96c71e8c9e

View file

@ -6,6 +6,10 @@
**/
if(!$_GET['t'] || !$_GET['l']) exit;
if(version_compare(PHP_VERSION, '5.3.0') >= 0)
{
date_default_timezone_set(@date_default_timezone_get());
}
// set env
$XE_PATH = substr(dirname(__FILE__),0,strlen('common')*-1);