From: martin Date: Thu, 19 Sep 2002 14:59:47 +0000 (+0000) Subject: Put sitename on debugging info (helpful when comparing two sites) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1e4d8ed1d230a2caafc823b6ce2190e4ce22ce24;p=moodle.git Put sitename on debugging info (helpful when comparing two sites) --- diff --git a/admin/config.php b/admin/config.php index c8d6206e73..337844a4ff 100644 --- a/admin/config.php +++ b/admin/config.php @@ -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; }