sort the plugins to make it easier to compare lists
This commit is contained in:
parent
dd10a77488
commit
cd7d845568
@ -33,6 +33,7 @@ function siteinfo_init(&$a) {
|
|||||||
foreach($r as $rr)
|
foreach($r as $rr)
|
||||||
$visible_plugins[] = $rr['name'];
|
$visible_plugins[] = $rr['name'];
|
||||||
}
|
}
|
||||||
|
sort($visible_plugins);
|
||||||
|
|
||||||
if(@is_dir('.git') && function_exists('shell_exec'))
|
if(@is_dir('.git') && function_exists('shell_exec'))
|
||||||
$commit = trim(@shell_exec('git log -1 --format="%h"'));
|
$commit = trim(@shell_exec('git log -1 --format="%h"'));
|
||||||
|
Reference in New Issue
Block a user