From 400f73f5d5ca375f7a9b934dc3ca825b6d9a0c35 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Wed, 9 Apr 2014 20:28:59 +0200 Subject: [PATCH] Added __DIR__ to Plugins.php --- php/modules/Plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/modules/Plugins.php b/php/modules/Plugins.php index 42c0d62..35e76f6 100644 --- a/php/modules/Plugins.php +++ b/php/modules/Plugins.php @@ -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;