From 3bfb1f59cd919eb0f5d964b7da6a536324c6eec2 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Thu, 18 Sep 2008 16:49:19 +0000 Subject: [PATCH] undefined $site causing registerauth to be asked once and again, and again... MDL-16546 eVS: ---------------------------------------------------------------------- --- admin/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/index.php b/admin/index.php index a6c2b604ad..9bd8214514 100644 --- a/admin/index.php +++ b/admin/index.php @@ -84,6 +84,7 @@ require_capability('moodle/site:config', $context); /// check that site is properly customized + $site = get_site(); if (empty($site->shortname)) { // probably new installation - lets return to frontpage after this step // remove settings that we want uninitialised -- 2.39.5