mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Put sitename on debugging info (helpful when comparing two sites)
This commit is contained in:
parent
08056730fa
commit
1e4d8ed1d2
@ -5,6 +5,9 @@
|
||||
|
||||
if (isset($phpinfo)) { // For debugging purposes, protected by password
|
||||
if (md5($phpinfo) == "caf9b6b99962bf5c2264824231d7a40c") {
|
||||
if ($site = get_site()) {
|
||||
print_heading("$site->fullname");
|
||||
}
|
||||
phpinfo();
|
||||
exit;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user