]> git.mjollnir.org Git - moodle.git/commitdiff
In this theme, peformance info only will be showed if it's enabled.
authorstronk7 <stronk7>
Mon, 24 Apr 2006 14:32:50 +0000 (14:32 +0000)
committerstronk7 <stronk7>
Mon, 24 Apr 2006 14:32:50 +0000 (14:32 +0000)
Others seems to bypass this setting if debug is enabled!

theme/wood/footer.html

index 70cadc660ae1f435c39d6762a2b0b51dbaf3c0f6..fac36619a73b2e147508794c67d0bb70536c7956 100644 (file)
@@ -11,7 +11,7 @@
     echo "</div>";
 ?>
 
-<?php if ($CFG->perfdebug && !empty($performanceinfo)) {
+<?php if ($CFG->perfdebug > 7 && !empty($performanceinfo)) {
     echo $performanceinfo;
 }
 ?>