Permalink
Browse files

Added missing directives that were introduced in PHP7 or before

  • Loading branch information...
ekinhbayar committed Oct 15, 2017
1 parent 861f03f commit 9f45baf8f8b68ec43464f79c493dd597eb9d14f9
Showing with 1,092 additions and 899 deletions.
  1. +20 −3 template/configuration.phtml
  2. +134 −112 texts/da.php
  3. +134 −112 texts/de.php
  4. +134 −112 texts/en.php
  5. +134 −112 texts/es.php
  6. +134 −112 texts/fr.php
  7. +134 −112 texts/it.php
  8. +134 −112 texts/nl.php
  9. +134 −112 texts/ru.php
@@ -11,19 +11,36 @@
<?php foreach ($config->getIniDirectives() as $key => $directiveItem) { ?>
<tr>
<td><?= $this->translator->translate('config.' . $key); ?></td>
<?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'])) { ?>
<?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',
'opcache.file_cache_only',
'opcache.file_cache_consistency_checks',
'opcache.file_cache_fallback',
'opcache.validate_permission',
'opcache.validate_root'
])) { ?>
<td><span class="<?= $directiveItem ? 'g' : 'r'; ?>s"></span></td>
<?php } else { ?>
<td><?= htmlspecialchars($directiveItem); ?></td>
<?php } ?>
<td><p><?= $this->translator->translate('config.' . $key . '.description'); ?></p></td>
<td>
<p><?= $this->translator->translate('config.' . $key . '.description'); ?></p>
</td>
</tr>
<?php } ?>
</table>
</section>
<section data-content="blacklist">
<?php if (!count($config->getBlackList())) { ?>
<br />
<br/>
<p><?= $this->translator->translate('blacklist.empty'); ?></p>
<?php } else { ?>
<table>

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 9f45baf

Please sign in to comment.