* fix the error of extension of control in fetch() method.

* fix the error of the reflection of control.
This commit is contained in:
wenjie@cnezsoft.com
2011-04-09 08:04:35 +00:00
parent d822e3f634
commit 25791ec7af
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ class control
if($moduleName != $this->moduleName) helper::import($file2Included);
/* Set the name of the class to be called. */
$className = class_exists("ext$moduleName") ? "ext$moduleName" : $moduleName;
$className = class_exists("my$moduleName") ? "my$moduleName" : $moduleName;
if(!class_exists($className)) $this->app->error(" The class $className not found", __FILE__, __LINE__, $exit = true);
/* Parse the params, create the $module control object. */