浏览代码

Sort directives alphabetically.

Andrew Collington 12 年之前
父节点
当前提交
7fff9247f1
共有 1 个文件被更改,包括 1 次插入0 次删除
  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>