Permalink
Browse files

Don't even attempt to install the template module

  • Loading branch information...
1 parent 1d1b312 commit c21f835ac36b35b1aa3e6971b7edfafbb17a77ac moodler committed Dec 12, 2002
Showing with 5 additions and 0 deletions.
  1. +5 −0 admin/index.php
View
@@ -129,6 +129,11 @@
}
foreach ($mods as $mod) {
+
+ if ($mod == "NEWMODULE") { // Someone has unzipped the template, ignore it
+ continue;
+ }
+
$fullmod = "$CFG->dirroot/mod/$mod";
unset($module);

0 comments on commit c21f835

Please sign in to comment.