From ec151659df99214cbbc0122490c470c94f1c4660 Mon Sep 17 00:00:00 2001 From: Pavlo Onysko Date: Tue, 9 Feb 2016 12:06:24 +0200 Subject: [PATCH] Fixed e404 error --- src/Core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core.php b/src/Core.php index ae3fa97..8843db5 100644 --- a/src/Core.php +++ b/src/Core.php @@ -446,7 +446,7 @@ public function composer($dependencyFilePath = null) } // Create local module and set it as active - $this->active = new CompressableLocalModule('local', $this->system_path, $this->map, $this); + $this->active = new VirtualModule($this->system_path, $this->map, $this, 'local'); // TODO: This should be changed to one single logic // Require all local module model files @@ -461,7 +461,7 @@ public function composer($dependencyFilePath = null) require($controller); // Create module connector instance - new CompressableLocalModule(basename($controller, '.php'), $this->system_path, $this->map, $this); + new VirtualModule($this->system_path, $this->map, $this, basename($controller, '.php')); } return $this;