From: Jeremy Laine Date: Wed, 31 May 2006 19:00:04 +0000 (+0000) Subject: build menu earlier so that DB calls show up in DB trace X-Git-Url: http://git.polytechnique.org/?p=diogenes.git;a=commitdiff_plain;h=2a97441a4d6d6d1ded439aff9e3ec97fc80e384a build menu earlier so that DB calls show up in DB trace --- diff --git a/include/diogenes.page.inc.php b/include/diogenes.page.inc.php index 1c3aa2f..6c058db 100644 --- a/include/diogenes.page.inc.php +++ b/include/diogenes.page.inc.php @@ -78,13 +78,13 @@ class DiogenesPage extends DiogenesCorePage global $globals; $this->assign('page_template', $template); + $this->makeMenu(); if ($globals->debugdatabase) $this->assign('db_trace',$globals->db->trace_format($this)); if ($globals->debugplugins) $this->assign('plugins_trace',$globals->plugins->trace_format($this)); if (($globals->debugplugins) || ($globals->debugdatabase)) $this->assign('debug_css', $this->url("common.css")); - $this->makeMenu(); if (!$master) $master = $this->getTemplate();