Make registration code a bit more unique

This commit is contained in:
moodler
2006-10-29 02:31:53 +00:00
parent 8b755329fa
commit 6e150eb0f5
+1 -1
View File
@@ -24,7 +24,7 @@
}
if (empty($CFG->siteidentifier)) { // Unique site identification code
set_config('siteidentifier', random_string(32));
set_config('siteidentifier', random_string(32).$_SERVER['HTTP_HOST']);
}