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 0fe09b2..0e0bd80 100644 (file)
@@ -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