修正错别字

This commit is contained in:
Wips X
2018-10-15 11:15:36 +08:00
parent 4fc525174f
commit e81d6f88ac
2 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -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();
}