From 5ed7ba39d30c3d2a4f4302e41714b4be37952b6a Mon Sep 17 00:00:00 2001 From: toogee Date: Sun, 12 Jan 2020 15:25:26 +0800 Subject: [PATCH] 404 --- composer.lock | 16 ++++++++-------- config/app.php | 2 +- vendor/services.php | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.lock b/composer.lock index 687e778..63f9b7a 100644 --- a/composer.lock +++ b/composer.lock @@ -504,12 +504,12 @@ "source": { "type": "git", "url": "https://github.com/top-think/framework.git", - "reference": "dbdf7e45e6c9a598017e15d3116c1cf96a87c0ae" + "reference": "e7fa18eebf3092c9abf34c79310eca4d17c78cbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/framework/zipball/dbdf7e45e6c9a598017e15d3116c1cf96a87c0ae", - "reference": "dbdf7e45e6c9a598017e15d3116c1cf96a87c0ae", + "url": "https://api.github.com/repos/top-think/framework/zipball/e7fa18eebf3092c9abf34c79310eca4d17c78cbd", + "reference": "e7fa18eebf3092c9abf34c79310eca4d17c78cbd", "shasum": "", "mirrors": [ { @@ -564,7 +564,7 @@ "orm", "thinkphp" ], - "time": "2019-12-28T14:12:22+00:00" + "time": "2020-01-11T06:53:35+00:00" }, { "name": "topthink/think-captcha", @@ -722,12 +722,12 @@ "source": { "type": "git", "url": "https://github.com/top-think/think-orm.git", - "reference": "9caecd97608c937059fc09550b41af2557471d35" + "reference": "d6965dfae21f150e29cc899ab6f9b1bd2c0f2ee4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-orm/zipball/9caecd97608c937059fc09550b41af2557471d35", - "reference": "9caecd97608c937059fc09550b41af2557471d35", + "url": "https://api.github.com/repos/top-think/think-orm/zipball/d6965dfae21f150e29cc899ab6f9b1bd2c0f2ee4", + "reference": "d6965dfae21f150e29cc899ab6f9b1bd2c0f2ee4", "shasum": "", "mirrors": [ { @@ -765,7 +765,7 @@ "database", "orm" ], - "time": "2020-01-04T04:00:06+00:00" + "time": "2020-01-07T10:05:10+00:00" }, { "name": "topthink/think-template", diff --git a/config/app.php b/config/app.php index 18feded..a1e91cd 100644 --- a/config/app.php +++ b/config/app.php @@ -29,7 +29,7 @@ return [ 'deny_app_list' => [], // 异常页面的模板文件 - 'exception_tmpl' => app()->getThinkPath() . 'tpl/think_exception.tpl', + 'exception_tmpl' => '../view/404.html', // 错误显示信息,非调试模式有效 'error_message' => '页面错误!请稍后再试~', diff --git a/vendor/services.php b/vendor/services.php index 8464352..a714c90 100644 --- a/vendor/services.php +++ b/vendor/services.php @@ -1,5 +1,5 @@ 'think\\captcha\\CaptchaService',