setConfigEntry('OUTPUT_MODE', 'direct');
// This hack prevents a backtrace in CSS output
- if (getScriptOutputMode() == 1) {
+ if (isCssOutputMode()) {
// Problem with config so set output mode
setConfigEntry('OUTPUT_MODE', 'render');
} // END - if
runFilterChain('init');
// Are we installation routine?
- if ((!isInstalling()) && (getScriptOutputMode() != 1) && (getScriptOutputMode() != -1)) {
+ if ((!isInstalling()) && (!isCssOutputMode()) && (!isRawOutputMode())) {
// You have to install first!
redirectToUrl('install.php');
} // END - if