Test Failed
Push — master ( 503dc7...d178d4 )
by Alexey
04:55
created
system/modules/Modules/appAdminControllers/content/install.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <h1>Установка модулей</h1>
2 2
 <form>
3 3
   <?php
4
-  $config = Config::app(App::$primary ? App::$primary : App::$cur);
5
-  $modules = array_flip(Module::getInstalled(App::$cur));
6
-  $systemModules = array_merge(array_slice(scandir(INJI_SYSTEM_DIR . '/modules'), 2), array_slice(scandir(App::$primary->path . '/modules'), 2));
7
-  foreach ($systemModules as $module) {
8
-      $info = Module::getInfo($module);
9
-      if (!$info || isset($modules[$module])) {
10
-          continue;
11
-      }
12
-      ?>
4
+    $config = Config::app(App::$primary ? App::$primary : App::$cur);
5
+    $modules = array_flip(Module::getInstalled(App::$cur));
6
+    $systemModules = array_merge(array_slice(scandir(INJI_SYSTEM_DIR . '/modules'), 2), array_slice(scandir(App::$primary->path . '/modules'), 2));
7
+    foreach ($systemModules as $module) {
8
+        $info = Module::getInfo($module);
9
+        if (!$info || isset($modules[$module])) {
10
+            continue;
11
+        }
12
+        ?>
13 13
         <div class ="form-group">
14 14
             <div class="checkbox">
15 15
                 <label>
Please login to merge, or discard this patch.