commit cca07143f8c9651cf162ecca26b49e8c349d96ae
parent fb2f5e4c90c69c50a1ad822bb67e05f1abfa6dd6
Author: markseu <mark2011@mayberg.se>
Date: Sun, 18 Jun 2017 13:08:11 +0200
System update (painless update from previous version)
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/system/plugins/core.php b/system/plugins/core.php
@@ -1633,6 +1633,11 @@ class YellowPlugins
// Load plugins
function load($path = "")
{
+ if(count($this->yellow->config->config)==0) //TODO: remove later, backwards compability for old version
+ {
+ $this->yellow->load();
+ return;
+ }
$path = empty($path) ? $this->yellow->config->get("pluginDir") : $path;
foreach($this->yellow->toolbox->getDirectoryEntries($path, "/^.*\.php$/", true, false) as $entry)
{