From e81d6f88ac02f7219f1eedcbc43f5fa59192f949 Mon Sep 17 00:00:00 2001 From: Wips X <1591788658@qq.com> Date: Mon, 15 Oct 2018 11:15:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=94=99=E5=88=AB=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Install.php | 6 +++--- application/index/view/install/index.html | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/application/index/controller/Install.php b/application/index/controller/Install.php index cac3a358..91c44c6f 100644 --- a/application/index/controller/Install.php +++ b/application/index/controller/Install.php @@ -17,7 +17,7 @@ use think\facade\Session; class Install extends Controller { - public function index($stop = 1) + public function index($step = 1) { $rootPath = Env::get('root_path'); @@ -34,7 +34,7 @@ class Install extends Controller $isFileInfo = function_exists('finfo_open'); $isMysqli = class_exists('mysqli'); - switch ($stop) { + switch ($step) { case 1: // 运行环境检测 $testing = $phpVerGt56 && $isCurl && $isFileInfo && $isZip && $isMysqli; @@ -116,7 +116,7 @@ class Install extends Controller } $this->assign([ - 'stop' => $stop + 'step' => $step ]); return $this->fetch(); } diff --git a/application/index/view/install/index.html b/application/index/view/install/index.html index 27830624..cc5f4a49 100644 --- a/application/index/view/install/index.html +++ b/application/index/view/install/index.html @@ -32,7 +32,7 @@