Explorar o código

Sort directives alphabetically.

Andrew Collington %!s(int64=12) %!d(string=hai) anos
pai
achega
7fff9247f1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      index.php

+ 1 - 0
index.php

@@ -277,6 +277,7 @@ $host = (function_exists('gethostname')
             
             <table>
                 <tr><th colspan="2">Directives</th></tr>
+                <?php ksort($opcache_config['directives']); ?>
                 <?php rc(0); foreach ($opcache_config['directives'] as $d => $v): ?>
                 <tr class="<?php rc(); ?>">
                     <td><span title="<?php echo $d; ?>"><?php echo str_replace(array('opcache.', '_'), array('', ' '), $d); ?></span></td>