aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 81f5757e9..a5027486d 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -25,8 +25,8 @@
if ($handle = opendir($CONFIG->pluginspath)) {
while ($mod = readdir($handle)) {
- if (!in_array($mod,array('.','..','.svn','CVS')) && is_dir($mod)) {
- if (!@include($ONFIG->pluginspath . $mod . "/start.php"))
+ if (!in_array($mod,array('.','..','.svn','CVS')) && is_dir($CONFIG->pluginspath . "/" . $mod)) {
+ if (!@include($CONFIG->pluginspath . $mod . "/start.php"))
throw new PluginException("{$mod} is a misconfigured plugin.");
}
}