sort addon array
This commit is contained in:
parent
13b234d279
commit
01403d15c4
|
@ -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