Index: lib/Mvied/Plugin.php =================================================================== --- lib/Mvied/Plugin.php (revision 15600) +++ lib/Mvied/Plugin.php (working copy) @@ -123,7 +123,7 @@ $modules[] = $module; if ( is_dir($this->getModuleDirectory() . $module) && $sub_module_directory = opendir($this->getModuleDirectory() . $module) ) { while ( false !== ($entry = readdir($sub_module_directory)) ) { - if ( $entry != '.' && $entry != '..' ) { + if ( strpos($entry, '.') !== 0 ) { $sub_module = str_replace('.php', '', $entry); $modules[] = $module . '\\' . $sub_module; } @@ -427,4 +427,4 @@ return $this; } -} \ No newline at end of file +}