]> git.mxchange.org Git - mailer.git/commitdiff
More typos fixed, thanks to Profi-Concept
authorRoland Häder <roland@mxchange.org>
Mon, 23 Feb 2009 22:53:49 +0000 (22:53 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 23 Feb 2009 22:53:49 +0000 (22:53 +0000)
inc/extensions/ext-sql_patches.php
inc/load_extensions.php
inc/modules/guest/what-wernis_portal.php

index d849e757e321f6b45c768dd2709ffd946fc9def6..4c6b4cf8ca151f336d0dd81a37d25c59bffe0852 100644 (file)
@@ -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;
 }
index dd92ec8e18af86410f5ce6b75632ff1e9d2a214b..b6783c79eebb5bc76a409f291f24e7ad25a02fda 100644 (file)
@@ -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;
 
index c60a8f3f8e03f5e7a4501009af91ebb7f924a81c..658530e9f2bf9ec2a843fb2de44b1fa3ee80eb29 100644 (file)
@@ -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("</div>");
 
 //