summaryrefslogtreecommitdiff
path: root/templates/top.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/top.inc.php')
-rw-r--r--templates/top.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/top.inc.php b/templates/top.inc.php
index 0770c9c..4ff43f2 100644
--- a/templates/top.inc.php
+++ b/templates/top.inc.php
@@ -47,6 +47,9 @@ if(!isset($_GET['popup'])) {
if (isset($subtitle)) {
echo '<h2>'. $subtitle ."</h2>\n";
}
+if(DEBUG_MODE) {
+ echo '<p class="error">'. T_('Admins, your installation is in "Debug Mode" ($debugMode = true). To go in "Normal Mode" and hide debugging messages, change $debugMode to false into config.inc.php.') ."</p>\n";
+}
if (isset($error) && $error!='') {
echo '<p class="error">'. $error ."</p>\n";
}