FIxed site identifier

This commit is contained in:
moodler 2007-01-23 04:58:50 +00:00
parent 8b4315fd33
commit d53a487d65

View File

@ -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.