summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-11 21:11:42 +0000
committerthomascube <thomas@roundcube.net>2005-10-11 21:11:42 +0000
commit520c36aa4c24ad3424b8fa3137b7576e6eacaf14 (patch)
treec14b4f621fb213f9fe71a8230ef8ac1f68a21aa0 /program/include/main.inc
parent49afbf5d698eb7d57ae10a553b6dcb14117727dd (diff)
Better support for Courier IMAP
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index e2e7a00be..2e5be7b0e 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -386,8 +386,13 @@ function show_message($message, $type='notice')
function console($msg, $type=1)
{
- print $msg;
- print "\n<hr>\n";
+ if ($GLOBALS['REMOTE_REQUEST'])
+ print "// $msg\n";
+ else
+ {
+ print $msg;
+ print "\n<hr>\n";
+ }
}