X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-wernis_portal.php;h=126a08492f3553b52684d6c4efc2c686095374ae;hb=0f9bc55be42f9851cc87a06f3971c853a83425a7;hp=ae6f2430c59537bc01071401e316f2e63985b853;hpb=66b91ce490ab549425619c95fc12086e126d541b;p=mailer.git
diff --git a/inc/modules/guest/what-wernis_portal.php b/inc/modules/guest/what-wernis_portal.php
index ae6f2430c5..126a08492f 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_nl2br = false;
$rdf->use_dynamic_display(false);
-$rdf->set_CacheDir(getConfig('PATH') . 'inc/cache/');
+$rdf->set_CacheDir(getCachePath() . '');
$rdf->set_salt(md5(getConfig('SITE_KEY')));
$rdf->set_max_item(10);
$rdf->set_Options(
@@ -67,7 +70,7 @@ $rdf->set_Options(
);
// Use proxy?
-if ((getConfig('proxy_host') != '') && (getConfig('proxy_port') > 0)) {
+if (isProxyUsed()) {
// Set proxy data
$rdf->set_proxy(getConfig('proxy_host'), getConfig('proxy_port'));
@@ -81,8 +84,8 @@ if ((getConfig('proxy_host') != '') && (getConfig('proxy_port') > 0)) {
$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));
-OUTPUT_HTML('
');
+outputHtml($rdf->finish(true));
+outputHtml('');
-//
+// [EOF]
?>