summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMatthias Schulte <dokuwiki@lupo49.de>2013-08-25 12:01:55 +0200
committerMatthias Schulte <dokuwiki@lupo49.de>2013-08-25 12:01:55 +0200
commit95ea890111914bee74107ecb47e6c4c9198dbc99 (patch)
tree0037522bbae8a1701383e8aa369376c3bf10b833 /inc
parentc404cb3b0b4946f6308f66b6324a24489b2ef5b8 (diff)
downloadrpg-95ea890111914bee74107ecb47e6c4c9198dbc99.tar.gz
rpg-95ea890111914bee74107ecb47e6c4c9198dbc99.tar.bz2
Added "global $conf" to make the conditions working.
Diffstat (limited to 'inc')
-rw-r--r--inc/plugincontroller.class.php2
1 files changed, 2 insertions, 0 deletions
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))) {