소스 검색

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>