Skip to content

Commit 9f45baf

Browse files
committed
Added missing directives that were introduced in PHP7 or before
1 parent 861f03f commit 9f45baf

9 files changed

Lines changed: 1092 additions & 899 deletions

File tree

template/configuration.phtml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,36 @@
1111
<?php foreach ($config->getIniDirectives() as $key => $directiveItem) { ?>
1212
<tr>
1313
<td><?= $this->translator->translate('config.' . $key); ?></td>
14-
<?php if (in_array($key, ['opcache.enable', 'opcache.enable_cli', 'opcache.use_cwd', 'opcache.validate_timestamps', 'opcache.dups_fix', 'opcache.revalidate_path', 'opcache.save_comments', 'opcache.fast_shutdown', 'opcache.enable_file_override'])) { ?>
14+
<?php if (in_array($key, [
15+
'opcache.enable',
16+
'opcache.enable_cli',
17+
'opcache.use_cwd',
18+
'opcache.validate_timestamps',
19+
'opcache.dups_fix',
20+
'opcache.revalidate_path',
21+
'opcache.save_comments',
22+
'opcache.fast_shutdown',
23+
'opcache.enable_file_override',
24+
'opcache.file_cache_only',
25+
'opcache.file_cache_consistency_checks',
26+
'opcache.file_cache_fallback',
27+
'opcache.validate_permission',
28+
'opcache.validate_root'
29+
])) { ?>
1530
<td><span class="<?= $directiveItem ? 'g' : 'r'; ?>s"></span></td>
1631
<?php } else { ?>
1732
<td><?= htmlspecialchars($directiveItem); ?></td>
1833
<?php } ?>
19-
<td><p><?= $this->translator->translate('config.' . $key . '.description'); ?></p></td>
34+
<td>
35+
<p><?= $this->translator->translate('config.' . $key . '.description'); ?></p>
36+
</td>
2037
</tr>
2138
<?php } ?>
2239
</table>
2340
</section>
2441
<section data-content="blacklist">
2542
<?php if (!count($config->getBlackList())) { ?>
26-
<br />
43+
<br/>
2744
<p><?= $this->translator->translate('blacklist.empty'); ?></p>
2845
<?php } else { ?>
2946
<table>

texts/da.php

Lines changed: 134 additions & 112 deletions
Large diffs are not rendered by default.

texts/de.php

Lines changed: 134 additions & 112 deletions
Large diffs are not rendered by default.

texts/en.php

Lines changed: 134 additions & 112 deletions
Large diffs are not rendered by default.

texts/es.php

Lines changed: 134 additions & 112 deletions
Large diffs are not rendered by default.

texts/fr.php

Lines changed: 134 additions & 112 deletions
Large diffs are not rendered by default.

texts/it.php

Lines changed: 134 additions & 112 deletions
Large diffs are not rendered by default.

texts/nl.php

Lines changed: 134 additions & 112 deletions
Large diffs are not rendered by default.

texts/ru.php

Lines changed: 134 additions & 112 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)