sort addon array
This commit is contained in:
parent
13b234d279
commit
01403d15c4
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ class Addon
|
||||||
{
|
{
|
||||||
$addons_admin = [];
|
$addons_admin = [];
|
||||||
$addons = DI::config()->get('addons');
|
$addons = DI::config()->get('addons');
|
||||||
|
ksort($addons);
|
||||||
foreach ($addons as $name => $data) {
|
foreach ($addons as $name => $data) {
|
||||||
if (empty($data['admin'])) {
|
if (empty($data['admin'])) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue