mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
think\lang类增加detect方法用于自动侦测 改进Url类的route方法
This commit is contained in:
@@ -28,7 +28,7 @@ class Loader
|
||||
{
|
||||
// 检查是否定义classmap
|
||||
if (isset(self::$map[$class])) {
|
||||
if (self::$map[$class]) {
|
||||
if (is_file(self::$map[$class])) {
|
||||
include self::$map[$class];
|
||||
}
|
||||
} elseif ($file = self::findFileInComposer($class)) {
|
||||
|
||||
Reference in New Issue
Block a user