Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2009-07-03 08:27:46 +0400
committerrobocoder <anthon.pang@gmail.com>2009-07-03 08:27:46 +0400
commit7e2df1dc78741327b65f38424c8cafe0e79da42f (patch)
tree8343a08e6bdebc64cf05aa8e0ddfa8c0382e9c83 /index.php
parent815e744db037ac1f8ca402d6a27ea7bc0584b8cf (diff)
Shouldn't have moved this line.
git-svn-id: http://dev.piwik.org/svn/trunk@1277 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 85384eac13..3a1a24a934 100644
--- a/index.php
+++ b/index.php
@@ -34,6 +34,8 @@ require_once "core/testMinimumPhpVersion.php";
// NOTE: the code above this comment must be PHP4 compatible
+date_default_timezone_set(date_default_timezone_get());
+
if(!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER)
{
require_once "core/ErrorHandler.php";
@@ -43,7 +45,6 @@ if(!defined('PIWIK_ENABLE_ERROR_HANDLER') || PIWIK_ENABLE_ERROR_HANDLER)
set_exception_handler('Piwik_ExceptionHandler');
}
-date_default_timezone_set(date_default_timezone_get());
session_cache_limiter('nocache');
require_once "core/Loader.php";