mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
更新 Install.php
This commit is contained in:
parent
e10efbf4a3
commit
0e7f5ac3ec
@ -55,7 +55,7 @@ class Install extends Command {
|
|||||||
|
|
||||||
if ($input->hasOption('db')) {
|
if ($input->hasOption('db')) {
|
||||||
try {
|
try {
|
||||||
$options = $options = $this->parseDsnConfig($input->getOption('db'));
|
$options = $this->parseDsnConfig($input->getOption('db'));
|
||||||
Connection::instance($options)->getTables($options['database']);
|
Connection::instance($options)->getTables($options['database']);
|
||||||
$confPath = Env::get('config_path');
|
$confPath = Env::get('config_path');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user