mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
FIxed site identifier
This commit is contained in:
parent
8b4315fd33
commit
d53a487d65
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user