From: Roland Häder Date: Mon, 23 Feb 2009 22:53:49 +0000 (+0000) Subject: More typos fixed, thanks to Profi-Concept X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=ea295a391646261bc643264570404f6862abcbd4;ds=sidebyside More typos fixed, thanks to Profi-Concept --- diff --git a/inc/extensions/ext-sql_patches.php b/inc/extensions/ext-sql_patches.php index d849e757e3..4c6b4cf8ca 100644 --- a/inc/extensions/ext-sql_patches.php +++ b/inc/extensions/ext-sql_patches.php @@ -771,15 +771,15 @@ default: // Do stuff when extension is loaded 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; } diff --git a/inc/load_extensions.php b/inc/load_extensions.php index dd92ec8e18..b6783c79ee 100644 --- a/inc/load_extensions.php +++ b/inc/load_extensions.php @@ -42,6 +42,11 @@ global $EXT_CSS_FILES; $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; diff --git a/inc/modules/guest/what-wernis_portal.php b/inc/modules/guest/what-wernis_portal.php index c60a8f3f8e..658530e9f2 100644 --- a/inc/modules/guest/what-wernis_portal.php +++ b/inc/modules/guest/what-wernis_portal.php @@ -74,8 +74,10 @@ if ((getConfig('proxy_host') != "") && (getConfig('proxy_port') > 0)) { } // 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(""); //