@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | // Backup of config/elasticsearch.php if exists |
| 230 | 230 | if (file_exists(PMF_ROOT_DIR.'/config/elasticsearch.php')) { |
| 231 | 231 | if (!copy(PMF_ROOT_DIR.'/config/elasticsearch.php', PMF_ROOT_DIR.'/config/elasticsearch.bak.php')) { |
| 232 | - echo '<p class="alert alert-danger"><strong>Error:</strong> The backup file ' . |
|
| 232 | + echo '<p class="alert alert-danger"><strong>Error:</strong> The backup file '. |
|
| 233 | 233 | '../config/elasticsearch.bak.php could not be written. Please correct this!</p>'; |
| 234 | 234 | } else { |
| 235 | 235 | $checkElasticsearchSetupFile = true; |
@@ -597,7 +597,7 @@ discard block |
||
| 597 | 597 | foreach ($query as $key => $executeQuery) { |
| 598 | 598 | $result = $faqConfig->getDb()->query($executeQuery); |
| 599 | 599 | echo '.'; |
| 600 | - if (!($key % 100)) { |
|
| 600 | + if (!($key%100)) { |
|
| 601 | 601 | echo '<br />'; |
| 602 | 602 | } |
| 603 | 603 | if (!$result) { |
@@ -617,7 +617,7 @@ discard block |
||
| 617 | 617 | } |
| 618 | 618 | usleep(10000); |
| 619 | 619 | ++$count; |
| 620 | - if (!($count % 10)) { |
|
| 620 | + if (!($count%10)) { |
|
| 621 | 621 | ob_flush(); |
| 622 | 622 | } |
| 623 | 623 | } |