From 27e89b0a022e0769b6293d4a9b7c9d54a7426285 Mon Sep 17 00:00:00 2001 From: Enosh Yu Date: Thu, 22 Dec 2016 19:02:09 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=ED=8C=A8=EC=B9=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ci2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci2.php b/src/ci2.php index 984a262..80a0373 100644 --- a/src/ci2.php +++ b/src/ci2.php @@ -415,7 +415,7 @@ function exec_controller($class_name, $method = NULL) } $directory = $cinfo['dirname'] != '.' ? ($cinfo['dirname'] . '/') : ''; - $class = strtolower($cinfo['filename']); +   $class = strtolower($cinfo['basename']); if(func_num_args() > 2) { $params = func_get_args();