From: quix0r 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=d8ea79279e60bdec5650a46e4265fda10e1555df;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