]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-wernis_portal.php
Rewrote 2 str_replace() calls to one with array()
[mailer.git] / inc / modules / guest / what-wernis_portal.php
index b886468a0ec5fbc53ebd2493cfec4bae55cf0427..05532dd76d3ae53f73c0e5faa1315f1539b12196 100644 (file)
@@ -62,7 +62,7 @@ $rdf->set_max_item(10);
 $rdf->set_Options(
        array(
                'textinput' => 'hidden',
-               'sitelink'  => 'http://www.wds66.com',
+               'sitelink'  => getWernisBaseUrl(),
                'refid'     => getWernisRefid(),
                'reflink'   => '/ref.php?refid=',
        )
@@ -80,7 +80,7 @@ if (isProxyUsed()) {
        } // END  - if
 } // END - if
 
-$rdf->parse_RDF('http://www.wds66.com/rss.xml');
+$rdf->parse_RDF(getWernisBaseUrl() . '/rss.xml');
 
 // Load template
 loadTemplate('guest_wernis_news', FALSE, $rdf->finish(TRUE));