From 95ea890111914bee74107ecb47e6c4c9198dbc99 Mon Sep 17 00:00:00 2001
From: Matthias Schulte <dokuwiki@lupo49.de>
Date: Sun, 25 Aug 2013 12:01:55 +0200
Subject: [PATCH] Added "global $conf" to make the conditions working.

---
 inc/plugincontroller.class.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inc/plugincontroller.class.php b/inc/plugincontroller.class.php
index 0b4041a77..c825870cd 100644
--- a/inc/plugincontroller.class.php
+++ b/inc/plugincontroller.class.php
@@ -129,6 +129,8 @@ class Doku_Plugin_Controller {
     }
 
     protected function _populateMasterList() {
+        global $conf;
+
         if ($dh = @opendir(DOKU_PLUGIN)) {
             $all_plugins = array();
             while (false !== ($plugin = readdir($dh))) {
-- 
GitLab