From 6724da9e8fe7f1d2da56eb366dcb6e3754d4226a Mon Sep 17 00:00:00 2001 From: wuyanwen Date: Sat, 14 Dec 2019 17:50:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9F=BA=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/catcher/base/CatchController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/catcher/base/CatchController.php b/extend/catcher/base/CatchController.php index 71f1211..86c2ec5 100644 --- a/extend/catcher/base/CatchController.php +++ b/extend/catcher/base/CatchController.php @@ -49,7 +49,7 @@ abstract class CatchController $class = explode('\\', $class); - $className = strtolower(end($class)); + $className = lcfirst(end($class)); if (is_dir($viewPath . $className)) { return sprintf('%s/%s', $className, $func);