@@ -159,13 +159,11 @@ |
||
| 159 | 159 | if(file_exists($path.'/module.json')) |
| 160 | 160 | { |
| 161 | 161 | $Modules->newFromJson($path); |
| 162 | - } |
|
| 163 | - elseif(file_exists($path.'/'.$moduleName.'.php')) |
|
| 162 | + } elseif(file_exists($path.'/'.$moduleName.'.php')) |
|
| 164 | 163 | { |
| 165 | 164 | require_once($path.'/'.$moduleName.'.php'); |
| 166 | 165 | $Modules->addPath($moduleName, $path); |
| 167 | - } |
|
| 168 | - else {continue;} |
|
| 166 | + } else {continue;} |
|
| 169 | 167 | |
| 170 | 168 | $moduleInfos = $Modules->getModuleInfos($moduleName); |
| 171 | 169 | if(!file_exists($path.'/'.$moduleInfos['runFile'])) |