diff options
author | Matthias Schulte <dokuwiki@lupo49.de> | 2013-08-25 12:01:55 +0200 |
---|---|---|
committer | Matthias Schulte <dokuwiki@lupo49.de> | 2013-08-25 12:01:55 +0200 |
commit | 95ea890111914bee74107ecb47e6c4c9198dbc99 (patch) | |
tree | 0037522bbae8a1701383e8aa369376c3bf10b833 | |
parent | c404cb3b0b4946f6308f66b6324a24489b2ef5b8 (diff) | |
download | rpg-95ea890111914bee74107ecb47e6c4c9198dbc99.tar.gz rpg-95ea890111914bee74107ecb47e6c4c9198dbc99.tar.bz2 |
Added "global $conf" to make the conditions working.
-rw-r--r-- | inc/plugincontroller.class.php | 2 |
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))) { |