From dc55482aab4a70557b7b8991386f270fd8566e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Wed, 2 Apr 2025 17:24:23 +0900 Subject: [PATCH] dbms_primeidc_init...1 --- extdbms/composer.json | 2 +- extdbms/lib/Core/App.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extdbms/composer.json b/extdbms/composer.json index 9c8152c..6658e43 100644 --- a/extdbms/composer.json +++ b/extdbms/composer.json @@ -4,7 +4,7 @@ }, "autoload": { "psr-4": { - "lib\\": "lib/" + "lib\\Controllers\\": "lib/Controllers/" } } } diff --git a/extdbms/lib/Core/App.php b/extdbms/lib/Core/App.php index ddd92bf..7b30ed4 100644 --- a/extdbms/lib/Core/App.php +++ b/extdbms/lib/Core/App.php @@ -68,7 +68,7 @@ abstract class App $route = count($segments) ? $segments[0] : 'Home'; $route = $this->routeController($route); $controller = $this->getModule() . $route; - if (class_exists($controller)) { + if (class_exists($controller, true)) { $this->_controller = new $controller(); } else { throw new \Exception("[{$controller}] 해당 Controller를 찾을수 없습니다.");