aboutsummaryrefslogtreecommitdiffstats
path: root/App.php
diff options
context:
space:
mode:
Diffstat (limited to 'App.php')
-rw-r--r--App.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/App.php b/App.php
index 1978d29..9912b31 100644
--- a/App.php
+++ b/App.php
@@ -15,7 +15,9 @@ class App
{
// Set custom error handler
set_error_handler("App::error_handler");
-
+ // Set correct timezone
+ date_default_timezone_set(self::conf("app.timezone"));
+
@list($controller, $param, $action) = App::url();
if (empty($param)) {