yxc
This commit is contained in:
@@ -17,7 +17,7 @@ if (file_exists($composerAutoload)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$rel = substr($class, strlen($prefix));
|
$rel = substr($class, strlen($prefix));
|
||||||
$path = __DIR__ . '/../src/' . str_replace('\\', '/', $rel) . '.php';
|
$path = __DIR__ . '/../src/App/' . str_replace('\\', '/', $rel) . '.php';
|
||||||
|
|
||||||
if (file_exists($path)) {
|
if (file_exists($path)) {
|
||||||
require_once $path;
|
require_once $path;
|
||||||
|
|||||||
Reference in New Issue
Block a user