1
0
Fork 0

sort addon array

This commit is contained in:
Philipp Holzer 2023-01-04 01:05:02 +01:00
parent 13b234d279
commit 01403d15c4
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -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;