Passed
Push — development ( 9f6224...3f3c06 )
by Nils
04:02
created
install/upgrade_ajax.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
                     } elseif (substr_count($val, '$pre') > 0) {
423 423
                         $pre = getSettingValue($val);
424 424
                     } elseif (substr_count($val, "define('SECUREPATH',") > 0) {
425
-                        $superGlobal->put("sk_file", substr($val, 23, strpos($val, ');')-24)."/sk.php", "SESSION");
425
+                        $superGlobal->put("sk_file", substr($val, 23, strpos($val, ');') - 24)."/sk.php", "SESSION");
426 426
                     }
427 427
                 }
428 428
             }
@@ -685,7 +685,7 @@  discard block
 block discarded – undo
685 685
                     $filename,
686 686
                     $filename.'.'.date(
687 687
                         "Y_m_d",
688
-                        mktime(0, 0, 0, (int)date('m'), (int)date('d'), (int)date('y'))
688
+                        mktime(0, 0, 0, (int) date('m'), (int) date('d'), (int) date('y'))
689 689
                     )
690 690
                 )) {
691 691
                     echo 'document.getElementById("res_step5").innerHTML = '.
@@ -802,7 +802,7 @@  discard block
 block discarded – undo
802 802
                 $csrfp_file_sample = "../includes/libraries/csrfp/libs/csrfp.config.sample.php";
803 803
                 $csrfp_file = "../includes/libraries/csrfp/libs/csrfp.config.php";
804 804
                 if (file_exists($csrfp_file) === true) {
805
-                    if (!copy($filename, $filename.'.'.date("Y_m_d", mktime(0, 0, 0, (int)date('m'), (int)date('d'), (int)date('y'))))) {
805
+                    if (!copy($filename, $filename.'.'.date("Y_m_d", mktime(0, 0, 0, (int) date('m'), (int) date('d'), (int) date('y'))))) {
806 806
                         echo '[{"error" : "csrfp.config.php file already exists and cannot be renamed. Please do it by yourself and click on button Launch.", "result":"", "index" : "'.$post_index.'", "multiple" : "'.$post_multiple.'"}]';
807 807
                         break;
808 808
                     } else {
Please login to merge, or discard this patch.