* code for task #49352.

This commit is contained in:
王怡栋
2022-03-08 10:52:48 +08:00
parent 01c96e266c
commit b960a07ecf
11 changed files with 81 additions and 27 deletions
+3 -2
View File
@@ -416,12 +416,13 @@ class baseControl
$moduleName = basename(dirname(dirname(realpath($viewFile))));
$extPath = $this->app->getModuleExtPath('', $moduleName, 'view');
$checkedOrder = array('site', 'common', 'xuan', 'vision', 'custom');
$checkedOrder = array('site', 'custom', 'vision', 'xuan', 'common');
$fileName = basename($viewFile);
foreach($checkedOrder as $checkedType)
{
if(!empty($extPath[$checkedType]))
{
$extViewFile = $extPath[$checkedType] . basename($viewFile);
$extViewFile = $extPath[$checkedType] . $fileName;
if(file_exists($extViewFile))
{
helper::cd($extPath[$checkedType]);