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;