添加IS_MAC常量

This commit is contained in:
thinkphp
2016-03-03 10:08:54 +08:00
parent 0e6d985601
commit 4759b994b5
2 changed files with 2 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ class Loader
if (is_file($filename)) {
// 开启调试模式Win环境严格区分大小写
if (APP_DEBUG && IS_WIN && false === strpos(realpath($filename), $class . EXT)) {
return;
return false;
}
// 记录加载信息
APP_DEBUG && self::$load[] = $filename;