mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
调试模式下 记录自动加载失败的文件
This commit is contained in:
@@ -56,6 +56,8 @@ class Loader
|
||||
$filename = $path . str_replace('\\', DS, $class) . EXT;
|
||||
if (is_file($filename)) {
|
||||
include $filename;
|
||||
} elseif (APP_DEBUG) {
|
||||
Log::record(' autoloader error : ' . $filename, 'notic');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user