From c21f835ac36b35b1aa3e6971b7edfafbb17a77ac Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 12 Dec 2002 13:35:10 +0000 Subject: [PATCH] Don't even attempt to install the template module --- admin/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/index.php b/admin/index.php index d093276378..f6fdd229cf 100644 --- a/admin/index.php +++ b/admin/index.php @@ -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); -- 2.39.5