aboutsummaryrefslogtreecommitdiff
path: root/app/class/Controller.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-25 17:53:44 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-25 17:53:44 +0200
commit0efeef6b6693d62675ec8a45e73c71f69e0a0362 (patch)
tree4b86b3bd62217fc4c60e2827e30a45209ce82605 /app/class/Controller.php
parentbd16dc7c6fc630a6b59ca3b041dde146ab50c72b (diff)
parent385b3f4adf86606e03941171c136d8f2eb2b35c2 (diff)
downloadwcms-0efeef6b6693d62675ec8a45e73c71f69e0a0362.tar.gz
wcms-0efeef6b6693d62675ec8a45e73c71f69e0a0362.zip
Merge branch master with implement-exception
Diffstat (limited to 'app/class/Controller.php')
-rw-r--r--app/class/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Controller.php b/app/class/Controller.php
index 4185be8..34b3d11 100644
--- a/app/class/Controller.php
+++ b/app/class/Controller.php
@@ -33,7 +33,7 @@ class Controller
$this->router = $router;
$this->pagemanager = new Modelpage();
$this->initplates();
- $this->now = new DateTimeImmutable(null, timezone_open("Europe/Paris"));
+ $this->now = new DateTimeImmutable("now", timezone_open("Europe/Paris"));
}
public function setuser()