Browse code

module name bug fix

RafaƂ Szklarczyk authored on 28/09/2019 21:36:50
Showing 1 changed files
... ...
@@ -180,7 +180,7 @@ class Application{
180 180
                 return $this->handle404($this->request);
181 181
             }
182 182
 
183
-            $this->module = $module;
183
+            $this->module = trim($module, '\\');
184 184
             $this->controller = $controller;
185 185
             $this->action = $controller_action;
186 186
             // prepare args and start the action