From 2d4b1dda9c37c711bbf1088ad0061898d33c5a28 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 29 Nov 2016 22:08:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=B7=E6=B1=82=E7=BC=93=E5=AD=98=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=A8=A1=E5=9D=97=E5=8D=95=E7=8B=AC=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/App.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/think/App.php b/library/think/App.php index 671377b1..367b4ae6 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -347,6 +347,8 @@ class App // 初始化模块 $request->module($module); $config = self::init($module); + // 模块请求缓存检查 + $request->cache($config['request_cache'], $config['request_cache_expire']); } else { throw new HttpException(404, 'module not exists:' . $module); }