From: moodler Date: Tue, 23 Jan 2007 04:58:50 +0000 (+0000) Subject: FIxed site identifier X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d53a487d65da97a660713d6138b581b7183b6cff;p=moodle.git FIxed site identifier --- diff --git a/admin/index.php b/admin/index.php index 9895b23310..96814f39b8 100644 --- a/admin/index.php +++ b/admin/index.php @@ -461,7 +461,7 @@ /// Define the unique site ID code if it isn't already if (empty($CFG->siteidentifier)) { // Unique site identification code - set_config('siteidentifier', random_string(32)); + set_config('siteidentifier', random_string(32).$_SERVER['HTTP_HOST']); } /// Check if the guest user exists. If not, create one.