@@ -422,7 +422,7 @@ discard block |
||
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 |
||
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 |
||
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 { |