From c8a21d646ca96aaf00867b90b582a6572c591ee2 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 05 Sep 2008 03:27:23 -0400 Subject: [PATCH] Killed one more global var + log logins to a separate file (not console) --- program/include/main.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/include/main.inc b/program/include/main.inc index 3fad9cb..a6ad93d 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -317,7 +317,7 @@ $is_iso_8859_1 = true; } if (!$enctype) - $enctype = $GLOBALS['OUTPUT_TYPE']; + $enctype = $OUTPUT->type; // encode for plaintext if ($enctype=='text') -- Gitblit v1.9.1