Skip to content
Snippets Groups Projects
Commit 638e1578 authored by Christopher Smith's avatar Christopher Smith
Browse files

update ignore criteria when populating master plugin list

parent fc5dbe99
No related branches found
No related tags found
No related merge requests found
......@@ -120,8 +120,8 @@ class Doku_Plugin_Controller {
function _populateMasterList() {
if ($dh = opendir(DOKU_PLUGIN)) {
while (false !== ($plugin = readdir($dh))) {
if ($plugin == '.' || $plugin == '..' || $plugin == 'tmp') continue;
if (is_file(DOKU_PLUGIN.$plugin)) continue;
if ($plugin[0] == '.') continue; // skip hidden entries
if (is_file(DOKU_PLUGIN.$plugin)) continue; // skip files, we're only interested in directories
if (substr($plugin,-9) == '.disabled') {
// the plugin was disabled by rc2009-01-26
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment