From ec3ce3a97dc61fddfd736daaed2f368c1366409a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20S=CC=8Ckoda?= Date: Wed, 24 Apr 2013 12:50:45 +0200 Subject: [PATCH] MDL-39336 do not print debug output before finishing installation --- lib/outputrenderers.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 07378946e1c..8b278769087 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -469,6 +469,12 @@ class core_renderer extends renderer_base { public function standard_footer_html() { global $CFG, $SCRIPT; + if (during_initial_install()) { + // Debugging info can not work before install is finished, + // in any case we do not want any links during installation! + return ''; + } + // This function is normally called from a layout.php file in {@link core_renderer::header()} // but some of the content won't be known until later, so we return a placeholder // for now. This will be replaced with the real content in {@link core_renderer::footer()}.