From d9a091eb24b8c59d3e59ac7d9c55562ed977e10a Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sat, 9 Jan 2016 14:39:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E6=A8=A1=E5=BC=8F=E4=B8=8B?= =?UTF-8?q?=20=E8=AE=B0=E5=BD=95=E8=87=AA=E5=8A=A8=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Loader.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/think/Loader.php b/library/think/Loader.php index c86b3c53..1e1caef5 100644 --- a/library/think/Loader.php +++ b/library/think/Loader.php @@ -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'); } } }