From: stronk7 Date: Thu, 18 Sep 2008 16:49:19 +0000 (+0000) Subject: undefined $site causing registerauth to be asked once and again, and again... MDL... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3bfb1f59cd919eb0f5d964b7da6a536324c6eec2;p=moodle.git undefined $site causing registerauth to be asked once and again, and again... MDL-16546 eVS: ---------------------------------------------------------------------- --- 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