* adjust for web page.

This commit is contained in:
wangyidong
2022-04-25 15:20:05 +08:00
parent 580132c2c8
commit 668637fc18
3 changed files with 16 additions and 5 deletions
+1
View File
@@ -206,6 +206,7 @@ class control extends baseControl
$viewFile = $commonExtViewFile;
}
if(!is_file($viewFile)) $viewFile = dirname(dirname($viewExtPath['common'])) . DS . 'view' . DS . $this->devicePrefix . $methodName . ".{$viewType}.php";
if(!is_file($viewFile)) die(js::error($this->lang->notPage) . js::locate('back'));
/* Get ext hook files. */