diff --git a/system/App.php b/system/App.php index 05114c1..1999970 100644 --- a/system/App.php +++ b/system/App.php @@ -59,6 +59,8 @@ public function autoload() return include_once($class); } elseif (is_file($class = BASE_PATH . $namespace . lcfirst($classNameOnly) . '.php')) { return include_once($class); + }elseif (is_file($class = BASE_PATH . strtolower($namespace) . lcfirst($classNameOnly) . '.php')) { + return include_once($class); } return false; });