* Finish task #5324.

This commit is contained in:
chenfei
2019-03-19 08:04:39 +08:00
parent b78df3b7a7
commit 58d5f35e26
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -740,7 +740,7 @@ class baseControl
*/
if(!is_file($file2Included)) $this->app->triggerError("The control file $file2Included not found", __FILE__, __LINE__, $exit = true);
chdir(dirname($file2Included));
if($moduleName != $this->moduleName) helper::import($file2Included);
helper::import($file2Included);
/**
* 设置调用的类名。