FIxed up the site identifier (more unique)

This commit is contained in:
moodler
2007-01-23 05:02:45 +00:00
parent 24393fa959
commit 7e2fb27323
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -265,7 +265,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.
+1 -1
View File
@@ -26,7 +26,7 @@
}
if (empty($CFG->siteidentifier)) { // Unique site identification code
set_config('siteidentifier', random_string(32));
set_config('siteidentifier', random_string(32).$_SERVER['HTTP_HOST']);
}