integrate laravel framework

This commit is contained in:
xiaomlove
2021-04-02 19:48:41 +08:00
parent fe8c7683b8
commit e48461546f
96 changed files with 10107 additions and 207 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ class DB
if ($this->isConnected()) {
return null;
}
$config = config('database.mysql');
$config = nexus_config('nexus.mysql');
return $this->connect($config['host'], $config['username'], $config['password'], $config['database'], $config['port']);
}
@@ -207,4 +207,4 @@ class DB
return $result;
}
}
}