1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 05:43:10 +02:00

refactor(core): Plugins API #186

This commit is contained in:
Awilum
2019-09-07 19:45:16 +03:00
parent 5482f51d1a
commit a10a013096

View File

@@ -67,7 +67,7 @@ class Plugins
$this->flextype['registry']->set('plugins', []);
// Get Plugins List
$plugins_list = [];
$plugins_list = [];
foreach (Filesystem::listContents(PATH['plugins']) as $plugin) {
if ($plugin['type'] !== 'dir') {
@@ -92,7 +92,7 @@ class Plugins
// If Plugins List isnt empty
if (is_array($plugins_list) && count($plugins_list) > 0) {
// Init plugin configs
$plugins = [];
$plugins = [];
$plugin_settings = [];
$plugin_manifest = [];