Skip to content

Commit

Permalink
Make it ignore CVS directories
Browse files Browse the repository at this point in the history
  • Loading branch information
martin committed Nov 28, 2001
1 parent dee58b9 commit 0d1a6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/index.php
Expand Up @@ -22,7 +22,7 @@
// Find and check all modules and load them up. // Find and check all modules and load them up.
$dir = opendir("$CFG->dirroot/mod"); $dir = opendir("$CFG->dirroot/mod");
while ($mod = readdir($dir)) { while ($mod = readdir($dir)) {
if ($mod == "." || $mod == "..") { if ($mod == "." || $mod == ".." || $mod = "CVS") {
continue; continue;
} }


Expand Down

0 comments on commit 0d1a6b9

Please sign in to comment.