aboutsummaryrefslogtreecommitdiffstats
path: root/App.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mekanisti.fi>2009-10-26 23:01:37 +0200
committerFilipp Lepalaan <filipp@mekanisti.fi>2009-10-26 23:01:37 +0200
commit64cfbcf3dc766a5bbe80b74072c4686fd956bc53 (patch)
tree1b591b4cfcba99c4fbc7e9bfe1b36d29c991919d /App.php
parentb69995e1d0bcd5ea1185acfda4899e11f1d8e624 (diff)
downloadmain-64cfbcf3dc766a5bbe80b74072c4686fd956bc53.tar.gz
main-64cfbcf3dc766a5bbe80b74072c4686fd956bc53.tar.bz2
main-64cfbcf3dc766a5bbe80b74072c4686fd956bc53.zip
Timezone
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)) {