admin MDL-19787 Added PAGE->set_url calls and removed $Id tags

This commit is contained in:
samhemelryk
2009-10-15 02:19:51 +00:00
parent b58961acaa
commit c5e4f81d9a
7 changed files with 24 additions and 17 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
<?PHP // $Id$
<?PHP
// dbperformance.php - shows latest ADOdb stats for the current server
require_once('../config.php');
@@ -21,6 +21,7 @@ error('TODO: rewrite db perf code'); // TODO: rewrite
$site = get_site();
if (!empty($topframe)) {
$PAGE->set_url(new moodle_url($CFG->wwwroot.'/admin/dbperformance.php'));
$PAGE->navbar->add($stradministration, new moodle_url($CFG->wwwroot.'/admin/index.php'));
$PAGE->navbar->add($strdatabaseperformance);
$PAGE->set_title("$site->shortname: $strdatabaseperformance");