]> 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 9a680e8bf575f6a8c5d9a0d6215aec953e925323..05532dd76d3ae53f73c0e5faa1315f1539b12196 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -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));