define('_MAX' , getConfig('rand_no'));
} else {
// Set some lame ( ;-) ) default settings
- setConfigEntry('def_refid'] = 0;
- setConfigEntry('enable_title_deco', = "N");
- setConfigEntry('title_mod_show' , = "Y");
- setConfigEntry('title_middle' , = "-");
+ setConfigEntry('def_refid' , 0);
+ setConfigEntry('enable_title_deco', "N");
+ setConfigEntry('title_mod_show' , "Y");
+ setConfigEntry('title_middle' , "-");
// @TODO Can we remove this? setConfigEntry('verbose_sql' , "N");
- define('MT_WORD' , DEFAULT_MT_WORD );
- define('MT_WORD2', DEFAULT_MT_WORD2);
- define('MT_WORD3', DEFAULT_MT_WORD3);
- define('POINTS' , DEFAULT_POINTS);
+ define('MT_WORD' , getMessage('DEFAULT_MT_WORD'));
+ define('MT_WORD2', getMessage('DEFAULT_MT_WORD2'));
+ define('MT_WORD3', getMessage('DEFAULT_MT_WORD3'));
+ define('POINTS' , getMessage('DEFAULT_POINTS'));
}
break;
}
$EXT_CSS_FILES = array();
$ADD = "";
+// Init cache instance and array
+global $cacheInstance, $cacheArray;
+$cacheInstance = null;
+$cacheArray = array();
+
// Skip loading extensions
if ((!isBooleanConstantAndTrue('mxchange_installed')) || (isBooleanConstantAndTrue('mxchange_installing'))) return;
} // END - if
$rdf->parse_RDF("http://www.wds66.com/rss.xml");
-$rdf->finish();
-// DISABLED: $rdf->clear_cache();
+
+// Fix to avoid "headers already sent" bug. Thanks to Profi-Concept
+OUTPUT_HTML($rdf->finish(true));
+// @TODO Can this be removed? $rdf->clear_cache();
OUTPUT_HTML("</div>");
//