]> git.mjollnir.org Git - moodle.git/commitdiff
Make registration code a bit more unique
authormoodler <moodler>
Sun, 29 Oct 2006 02:31:53 +0000 (02:31 +0000)
committermoodler <moodler>
Sun, 29 Oct 2006 02:31:53 +0000 (02:31 +0000)
admin/register.php

index e0948698dd4b984133f899bb5d463aec38066363..890f724dc7afc3abafe1882d0a857de6bfeb1993 100644 (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']);
     }