|
|
@@ -73,7 +73,6 @@ class OMUtils
|
|
|
$moduleInitPath = "{$item->getPathname()}/{$moduleName}.php";
|
|
|
if (file_exists($moduleInitPath)) { // If already imported, skip
|
|
|
if (!isset($$moduleName)) {
|
|
|
- Global $$moduleName;
|
|
|
$$moduleName = new $className(); // Instantiate the Module, all init procedure must reside in __constructor() method
|
|
|
$$moduleName->setTsStartLoad();
|
|
|
}
|