mirror of
https://github.com/flextype/flextype.git
synced 2025-08-23 21:33:01 +02:00
refactor(core): refactor Plugins API #186
This commit is contained in:
@@ -69,7 +69,7 @@ class Plugins
|
||||
// Get Plugins List
|
||||
$plugins_list = [];
|
||||
|
||||
foreach Filesystem::listContents(PATH['plugins']) as $plugin) {
|
||||
foreach (Filesystem::listContents(PATH['plugins']) as $plugin) {
|
||||
if ($plugin['type'] !== 'dir') {
|
||||
continue;
|
||||
}
|
||||
@@ -94,7 +94,7 @@ class Plugins
|
||||
// Init plugin configs
|
||||
$plugins = [];
|
||||
$plugin_settings = [];
|
||||
$plugin_manifest = [];
|
||||
$plugin_manifest = [];
|
||||
|
||||
// Go through...
|
||||
foreach ($plugins_list as $plugin) {
|
||||
|
Reference in New Issue
Block a user