This commit is contained in:
xiaomlove
2021-02-01 02:33:45 +08:00
parent 5f6ca9ff4c
commit 1347567c5d
3 changed files with 299 additions and 4 deletions

View File

@@ -6,11 +6,11 @@ use Nexus\Database\DB;
class Install
{
private $currentStep;
protected $currentStep;
private $minimumPhpVersion = '7.2.0';
protected $minimumPhpVersion = '7.2.0';
private $progressKeyPrefix = '__step';
protected $progressKeyPrefix = '__step';
protected $steps = ['环境检测', '添加 .env 文件', '创建数据表', '导入数据', '创建管理员账号'];
@@ -97,7 +97,6 @@ class Install
public function listExistsTable()
{
dbconn(false, false);
$sql = 'show tables';
$res = sql_query($sql);
$data = [];