* baseControl: remove code to check whether the ui file exists.

This commit is contained in:
liugang
2023-11-09 15:59:27 +08:00
parent 17ba86c2f8
commit 628cfe2d02
+1 -1
View File
@@ -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);