mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-11-14 22:53:43 +08:00
安装程序优化,移除无用参数
This commit is contained in:
@@ -132,7 +132,6 @@ class InstallController
|
||||
'user' => 'require',
|
||||
'pass' => 'require',
|
||||
'port' => 'require|integer',
|
||||
'charset' => 'require'
|
||||
];
|
||||
if (!$validate->rule($rule)->check($dbConfig)) {
|
||||
throw new ValidateException($validate->getError());
|
||||
@@ -187,7 +186,6 @@ DB_NAME = {$dbConfig['name']}
|
||||
DB_USER = {$dbConfig['user']}
|
||||
DB_PASS = {$dbConfig['pass']}
|
||||
DB_PORT = {$dbConfig['port']}
|
||||
DB_CHARSET = {$dbConfig['charset']}
|
||||
DB_PREFIX = mpay_
|
||||
|
||||
DEFAULT_LANG = zh-cn
|
||||
|
||||
Reference in New Issue
Block a user