From c7ad238da6a56525ef304ccae800059687fab231 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Fri, 1 Dec 2023 22:06:13 +0800 Subject: [PATCH] * Adjust code error for cron. --- module/cron/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/cron/control.php b/module/cron/control.php index 74533a5b4e4..0fcf9c6fb09 100644 --- a/module/cron/control.php +++ b/module/cron/control.php @@ -395,8 +395,8 @@ public function consumeTask($execId, $task) parse_str($task->command, $params); if(isset($params['moduleName']) and isset($params['methodName'])) { - $this->app->loadConfig($params['moduleName']); $this->app->loadLang($params['moduleName']); + $this->app->loadConfig($params['moduleName']); $output = $this->fetch($params['moduleName'], $params['methodName']); } }