Possible fix for missing OUTPUT_MODE, thanks to narutofanxxxll
authorRoland Häder <roland@mxchange.org>
Sat, 6 Jun 2009 15:27:51 +0000 (15:27 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 6 Jun 2009 15:27:51 +0000 (15:27 +0000)
inc/mysql-connect.php

index 0fe09b27dcc09db9466e64e8a8094d51403189a1..0e0bd8068eae71a3828573864a15f2e5fa603b54 100644 (file)
@@ -180,6 +180,9 @@ if ((!isInstalling()) && (isInstalled())) {
        // Include neccessary functions for installation //
        ///////////////////////////////////////////////////
 
        // 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
        // This hack prevents a backtrace in CSS output
        if ($GLOBALS['output_mode'] == '1') {
                // Problem with config so set output mode