From 7c56f36db8e423ac197a4deb7e05990dd7cdb7a4 Mon Sep 17 00:00:00 2001 From: Haotong Lin Date: Wed, 30 Dec 2015 01:07:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0controller=E5=8D=95=E5=85=83?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/app.php b/library/think/app.php index da534d9d..85dd7842 100644 --- a/library/think/app.php +++ b/library/think/app.php @@ -43,7 +43,7 @@ class App foreach ($config['extra_file_list'] as $file) { $file = strpos($file, '.') ? $file : APP_PATH . $file . EXT; if (is_file($file)) { - include $file; + include_once $file; } } }