summaryrefslogtreecommitdiff
path: root/controllers/base.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-25 22:09:44 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-25 22:09:44 -0500
commit44b18060834b0afad7c875d32ea162c9f6e31621 (patch)
treef0e4f726fffc7a2c36f387083f6c9c7958386164 /controllers/base.php
parent44fc9c081fb7561b7b02115f9b2a6eb0349d2201 (diff)
Add task limit for each column
Diffstat (limited to 'controllers/base.php')
-rw-r--r--controllers/base.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/controllers/base.php b/controllers/base.php
index c7e59b18..a59220d3 100644
--- a/controllers/base.php
+++ b/controllers/base.php
@@ -67,9 +67,8 @@ abstract class Base
$language = $this->config->get('language', 'en_US');
if ($language !== 'en_US') \Translator\load($language);
- //set timezone
- $timezone = $this->config->get('timezone', 'UTC');
- date_default_timezone_set($timezone);
+ // Set timezone
+ date_default_timezone_set($this->config->get('timezone', 'UTC'));
$this->response->csp();
$this->response->nosniff();