From 89b05effb2eb45382762fcfcfae2373b7754caa7 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 12 Nov 2018 11:11:58 +0100 Subject: url-cleaning-redirect-correct-id --- app/class/controller.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'app/class/controller.php') diff --git a/app/class/controller.php b/app/class/controller.php index db13d5a..1c3fee5 100644 --- a/app/class/controller.php +++ b/app/class/controller.php @@ -11,8 +11,7 @@ class Controller public function __construct($router) { $this->setuser(); $this->router = $router; - $this->initplates(); - $this->initconfig(); + $this->initplates(); } public function setuser() @@ -44,10 +43,6 @@ class Controller } } - public function initconfig() - { - Config::readconfig(); - } public function showtemplate($template, $params) { -- cgit v1.2.3