From 6a4fa47207bfbc47a3d0c08ccea71ad4401b98d7 Mon Sep 17 00:00:00 2001 From: toogee Date: Wed, 15 Jan 2020 13:23:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=AE=89=E8=A3=85=E6=A3=80?= =?UTF-8?q?=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- app/index/controller/Index.php | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 62f7ed2..0c0cb3c 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ 1. git下载:https://gitee.com/toogee/TaoLer 2. 官网下载:http://www.aieok.com -3. 解压后,项目域名部署为public目录对外访问,首次安装,访问http://www.youdomain.com/会直接安装,安装目录为/install/index。 +3. 解压后,项目域名部署为public目录对外访问,安装访问http://www.youdomain.com/install/index。 4. 安装前需要先建立好数据库(需求:数据库连接地址,数据库用户名,数据库密码,数据库端口,数据库名称) 5. 安装过程注意记录好设置的管理员用户名和密码,默认admin/123456。前后台的管理员密码一致。安装好后,前后端管理员是分开的,前端主要对文章内容的审查,置顶等操作。 diff --git a/app/index/controller/Index.php b/app/index/controller/Index.php index 45fa9a9..ac863ee 100644 --- a/app/index/controller/Index.php +++ b/app/index/controller/Index.php @@ -15,9 +15,6 @@ class Index extends BaseController { public function index() { - if(!is_file('../install.lock')){ - return redirect('/install/index/index'); - } $types = input('type'); //幻灯 $sliders = Db::name('slider')->where('slid_status',1)->where('delete_time',0)->where('slid_type',1)->whereTime('slid_over','>=',time())->select();