From 46f19336c0208797d3c47685b8b5d7d0c74296e0 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 14 Nov 2014 23:04:20 -0500 Subject: Move some class instancaiations outside the router --- app/Core/Router.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/Core') diff --git a/app/Core/Router.php b/app/Core/Router.php index 1750753c..e01c16f6 100644 --- a/app/Core/Router.php +++ b/app/Core/Router.php @@ -84,10 +84,6 @@ class Router } $instance = new $class($this->container); - $instance->request = new Request; - $instance->response = new Response; - $instance->session = new Session; - $instance->template = new Template; $instance->beforeAction($this->controller, $this->action); $instance->$method(); -- cgit v1.2.3