From: Roland Häder Date: Sat, 6 Jun 2009 15:27:51 +0000 (+0000) Subject: Possible fix for missing OUTPUT_MODE, thanks to narutofanxxxll X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b8bb07ca2993ae80746a809853fdd46f5cde14e3;p=mailer.git Possible fix for missing OUTPUT_MODE, thanks to narutofanxxxll --- diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 0fe09b27dc..0e0bd8068e 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -180,6 +180,9 @@ if ((!isInstalling()) && (isInstalled())) { // Include neccessary functions for installation // /////////////////////////////////////////////////// + // Default output is 'direct' for HTML output + setConfigEntry('OUTPUT_MODE', 'direct'); + // This hack prevents a backtrace in CSS output if ($GLOBALS['output_mode'] == '1') { // Problem with config so set output mode