Completed
Push — master ( 80db05...7161cd )
by Schlaefer
02:46
created
plugins/Installer/src/Controller/InstallController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /**
6 6
  * Saito - The Threaded Web Forum
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         if ($hasSettingsTable) {
66 66
             $this->log('Installer found Settings-table. Moving on to Updater.', LogLevel::INFO, ['saito.install']);
67 67
             //// disable installer and move on to updater instead
68
-            (new File(CONFIG . 'installer'))->delete();
68
+            (new File(CONFIG.'installer'))->delete();
69 69
 
70 70
             return $this->redirect('/');
71 71
         }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
         //// Setting a salt
116 116
         $this->log('Installer setting salt.', LogLevel::INFO, ['saito.install']);
117
-        $config = ROOT . DS . 'config' . DS . 'app.php';
117
+        $config = ROOT.DS.'config'.DS.'app.php';
118 118
         $content = file_get_contents($config);
119 119
         $newKey = hash('sha256', Security::randomBytes(64));
120 120
         $content = str_replace('_SALT_', $newKey, $content, $count);
Please login to merge, or discard this patch.