增加文件夹分类功能,待完善.
This commit is contained in:
@@ -190,6 +190,14 @@ EOT;
|
||||
if ($start == 1) {
|
||||
if ($file) {
|
||||
$config = Config::pull('db');
|
||||
|
||||
// 替换sql关键字
|
||||
$file = str_replace([
|
||||
'{database}'
|
||||
], [
|
||||
$config['database']
|
||||
], $file);
|
||||
|
||||
$mysqli = new \mysqli(
|
||||
$config['hostname'],
|
||||
$config['username'],
|
||||
|
||||
Reference in New Issue
Block a user