Added __DIR__ to Plugins.php

This commit is contained in:
Tobias Reich 2014-04-09 20:28:59 +02:00
parent 8e818f84d5
commit 400f73f5d5

View File

@ -25,7 +25,7 @@ class Plugins implements \SplSubject {
# Load plugins # Load plugins
foreach ($this->files as $file) { foreach ($this->files as $file) {
if ($file==='') continue; if ($file==='') continue;
include('../plugins/' . $file); include(__DIR__ . '/../../plugins/' . $file);
} }
return true; return true;