a little clarity
This commit is contained in:
parent
4cd0419b03
commit
5059520935
1 changed files with 4 additions and 1 deletions
|
@ -125,7 +125,10 @@ class ExtManager extends Extension
|
|||
$extras = [];
|
||||
|
||||
foreach (ExtensionInfo::get_all_keys() as $key) {
|
||||
if (!in_array($key, $core) && isset($settings["ext_$key"]) && $settings["ext_$key"] === "on") {
|
||||
if (in_array($key, $core)) {
|
||||
continue; // core extensions are always enabled
|
||||
}
|
||||
if (isset($settings["ext_$key"]) && $settings["ext_$key"] === "on") {
|
||||
$extras[] = $key;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue