From 628cfe2d0284e03da9294b95eda958578f35da6f Mon Sep 17 00:00:00 2001 From: liugang Date: Thu, 9 Nov 2023 15:59:27 +0800 Subject: [PATCH] * baseControl: remove code to check whether the ui file exists. --- framework/base/control.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/base/control.class.php b/framework/base/control.class.php index b36731309c..b5892ef58c 100644 --- a/framework/base/control.class.php +++ b/framework/base/control.class.php @@ -941,7 +941,7 @@ class baseControl $modulePath = $this->app->getModulePath($this->appName, $moduleName); $viewType = $this->viewType == 'mhtml' ? 'html' : $this->viewType; $mainViewFile = $modulePath . 'ui' . DS . $this->devicePrefix . strtolower($methodName) . '.' . $viewType . '.php'; - if(file_exists($mainViewFile)) return $this->render($moduleName, $methodName); + return $this->render($moduleName, $methodName); } if(empty($this->output)) $this->parse($moduleName, $methodName);