From 2db597772202ce9e8839733e9b3220b62fd7fb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Wed, 24 Jan 2024 16:42:17 +0800 Subject: [PATCH] * Fix view file of cron. --- module/cron/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/cron/control.php b/module/cron/control.php index bfe4800edd..4813213a45 100755 --- a/module/cron/control.php +++ b/module/cron/control.php @@ -395,6 +395,8 @@ class cron extends control parse_str($task->command, $params); if(isset($params['moduleName']) and isset($params['methodName'])) { + $this->viewType = 'html'; + $this->app->loadLang($params['moduleName']); $this->app->loadConfig($params['moduleName']); $output = $this->fetch($params['moduleName'], $params['methodName']);