diff --git a/extdbms/lib/Core/App.php b/extdbms/lib/Core/App.php index 7b30ed4..1bcdb2a 100644 --- a/extdbms/lib/Core/App.php +++ b/extdbms/lib/Core/App.php @@ -68,6 +68,7 @@ abstract class App $route = count($segments) ? $segments[0] : 'Home'; $route = $this->routeController($route); $controller = $this->getModule() . $route; + $controller = str_replace('/', '\\', $controller); // Ensure namespace separator if (class_exists($controller, true)) { $this->_controller = new $controller(); } else {