From 64cfbcf3dc766a5bbe80b74072c4686fd956bc53 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 26 Oct 2009 23:01:37 +0200 Subject: Timezone --- App.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'App.php') 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)) { -- cgit v1.2.3