aboutsummaryrefslogtreecommitdiffstats
path: root/App.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mekanisti.fi>2009-10-26 23:02:33 +0200
committerFilipp Lepalaan <filipp@mekanisti.fi>2009-10-26 23:02:33 +0200
commit3036cdccec95ea8653f4925427a08c60e6233a36 (patch)
tree6bd77710cc61f66c7f6e410ed8a3db81b6a43e71 /App.php
parent730f91b3bab0767563184f99b40a851b6af6b635 (diff)
parent64cfbcf3dc766a5bbe80b74072c4686fd956bc53 (diff)
downloadmain-3036cdccec95ea8653f4925427a08c60e6233a36.tar.gz
main-3036cdccec95ea8653f4925427a08c60e6233a36.tar.bz2
main-3036cdccec95ea8653f4925427a08c60e6233a36.zip
Merge branch 'master' of github.com:filipp/main
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 686f92e..32191a0 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)) {