mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Little Tweeks + Sort Function for array
This commit is contained in:
1 parent
a4cdb250b9
commit
5ad11cbb10
3 files changed
+31
-14
No files matched your search
@@ -21,8 +21,8 @@ class Plugins extends Template
|
||||
$plugins[$key]['status'] = $status;
|
||||
}
|
||||
|
||||
sort($plugins);
|
||||
|
||||
$plugins = Utilities::sortArrayByKey($plugins, 'status', "desc");
|
||||
|
||||
$template = new Template('plugins');
|
||||
$template->prepare('baseDir', BASEDIR);
|
||||
$template->prepare('debugMod', DEBUGMOD);
|
||||
|
||||
Reference in new issue
Block a user