* finish task #5446.

This commit is contained in:
wangyidong
2019-05-30 11:50:21 +08:00
parent 52e0bea0c0
commit a3b6cfc687
7 changed files with 16 additions and 7 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));
helper::import($file2Included);
if(!class_exists($moduleName)) helper::import($file2Included);
/**
* 设置调用的类名。