X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-wernis_portal.php;h=b19dc24d2227ba89d41ed1fd4ad237a7c804331c;hb=566cbcf381d60410b4c5b3a2fc4cd7bfdf49b8fc;hp=96444b1780f156ce053104ca1b4818ae043fcb5d;hpb=81bfbcd72e424060ea1223b49ad92fcfa150f361;p=mailer.git diff --git a/inc/modules/guest/what-wernis_portal.php b/inc/modules/guest/what-wernis_portal.php index 96444b1780..b19dc24d22 100644 --- a/inc/modules/guest/what-wernis_portal.php +++ b/inc/modules/guest/what-wernis_portal.php @@ -1,7 +1,7 @@ "); +outputHtml('
'); $rdf = new fase4_rdf(); $rdf->use_dynamic_display(false); -$rdf->set_CacheDir(constant('PATH')."inc/cache/"); +$rdf->set_CacheDir(getConfig('CACHE_PATH') . ''); $rdf->set_salt(md5(getConfig('SITE_KEY'))); $rdf->set_max_item(10); $rdf->set_Options( array( - 'textinput' => "hidden", - 'sitelink' => "http://www.wds66.com", + 'textinput' => 'hidden', + 'sitelink' => 'http://www.wds66.com', 'refid' => getConfig('wernis_refid'), - 'reflink' => "/ref.php?refid=", + 'reflink' => '/ref.php?refid=', ) ); @@ -78,12 +79,11 @@ if ((getConfig('proxy_host') != '') && (getConfig('proxy_port') > 0)) { } // END - if } // END - if -$rdf->parse_RDF("http://www.wds66.com/rss.xml"); +$rdf->parse_RDF('http://www.wds66.com/rss.xml'); -// 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("
"); +// Fix to avoid 'headers already sent' bug. Thanks to Profi-Concept +outputHtml($rdf->finish(true)); +outputHtml(''); -// +// [EOF] ?>