mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 优化数据迁移
This commit is contained in:
parent
d38a601535
commit
69096a24c2
@ -45,6 +45,6 @@ class IniAdminUser extends Migrator {
|
||||
$this->table('admin_user')->insert($data)->saveData();
|
||||
|
||||
$lockFile = Env::get('app_path') . 'install' . DIRECTORY_SEPARATOR . 'lock.ini';
|
||||
file_put_contents($lockFile, "username:root, password:{$pass}");
|
||||
file_put_contents($lockFile, "username:root, password:{$pass}" . PHP_EOL);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user