In this theme, peformance info only will be showed if it's enabled.

Others seems to bypass this setting if debug is enabled!
This commit is contained in:
stronk7
2006-04-24 14:32:50 +00:00
parent 5f672a4dd8
commit 77ea1a858e
+1 -1
View File
@@ -11,7 +11,7 @@
echo "</div>";
?>
<?php if ($CFG->perfdebug && !empty($performanceinfo)) {
<?php if ($CFG->perfdebug > 7 && !empty($performanceinfo)) {
echo $performanceinfo;
}
?>