Completed
Branch master (d57d41)
by Vermeulen
03:02
created
src/BFW_init.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -159,13 +159,11 @@
 block discarded – undo
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']))
Please login to merge, or discard this patch.