Added __DIR__ to Plugins.php
This commit is contained in:
parent
8e818f84d5
commit
400f73f5d5
@ -25,7 +25,7 @@ class Plugins implements \SplSubject {
|
||||
# Load plugins
|
||||
foreach ($this->files as $file) {
|
||||
if ($file==='') continue;
|
||||
include('../plugins/' . $file);
|
||||
include(__DIR__ . '/../../plugins/' . $file);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user