System update (painless update from previous version)
This commit is contained in:
parent
fb2f5e4c90
commit
cca07143f8
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue