* Fix the bug of load user config.

This commit is contained in:
xieqiyu
2024-01-03 17:15:21 +08:00
parent 2a7218e6e3
commit 62482af8a1
+1
View File
@@ -31,6 +31,7 @@ class commonModel extends model
$this->loadCustomFromDB();
/* 用户模块在loadConfigFromDB之前就初始化了,所以要手动加载。 */
$this->app->loadLang('user');
$this->app->loadModuleConfig('user');
if(!$this->checkIP()) return print($this->lang->ipLimited);