Passed
Push — development ( 505f03...84f3da )
by Nils
03:53
created
install/upgrade_run_2.1.27.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1227,7 +1227,8 @@  discard block
 block discarded – undo
1227 1227
 $tp_config_file = "../includes/config/tp.config.php";
1228 1228
 if (file_exists($tp_config_file)) {
1229 1229
     if (!copy($tp_config_file, $tp_config_file.'.'.date("Y_m_d", mktime(0, 0, 0, (int) date('m'), (int) date('d'), (int) date('y'))))) {
1230
-        echo '[{"error" : "includes/config/tp.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.'"}]';
1230
+        echo '[{"error" : "includes/config/tp.config.php file already exists and cannot be renamed. Please do {
1231
+    it by yourself and click on button Launch.", "result":"", "index" : "'.$post_index.'", "multiple" : "'.$post_multiple.'"}]';
1231 1232
         return false;
1232 1233
     } else {
1233 1234
         unlink($tp_config_file);
@@ -1255,6 +1256,7 @@  discard block
 block discarded – undo
1255 1256
         utf8_encode(
1256 1257
             "<?php
1257 1258
 global \$SETTINGS;
1259
+}
1258 1260
 \$SETTINGS = array (" . $config_text."
1259 1261
 );"
1260 1262
         )
Please login to merge, or discard this patch.