From 2a97441a4d6d6d1ded439aff9e3ec97fc80e384a Mon Sep 17 00:00:00 2001 From: Jeremy Laine Date: Wed, 31 May 2006 19:00:04 +0000 Subject: [PATCH] build menu earlier so that DB calls show up in DB trace --- include/diogenes.page.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.1.4