]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-wernis_portal.php
Ticket resolved, code rewrites and caching:
[mailer.git] / inc / modules / guest / what-wernis_portal.php
index eb6491c642e0468b9dd653566a27c8ae28c20e57..8a32c4c5fb832a12ea7264c45df62e6192e117f2 100644 (file)
@@ -41,16 +41,16 @@ if (!defined('__SECURITY')) {
 }
 
 // Special file
-require_once(PATH."inc/rdf.class.php");
+LOAD_INC_ONCE("inc/rdf.class.php");
 
 // Add description as navigation point
 ADD_DESCR("guest", __FILE__);
 
-OUTPUT_HTML("<DIV style=\"padding-left: 10px; padding-right: 10px\">");
-$rdf = new fase4_rdf;
+OUTPUT_HTML("<div style=\"padding-left: 10px; padding-right: 10px\">");
+$rdf = new fase4_rdf();
 $rdf->use_dynamic_display(false);
 $rdf->set_CacheDir(PATH."inc/cache/");
-$rdf->set_salt(SITE_KEY);
+$rdf->set_salt(md5(SITE_KEY));
 $rdf->set_max_item(10);
 $rdf->set_Options(
        array(
@@ -76,7 +76,7 @@ if ((getConfig('proxy_host') != "") && (getConfig('proxy_port') > 0)) {
 $rdf->parse_RDF("http://www.wds66.com/rss.xml");
 $rdf->finish();
 // DISABLED: $rdf->clear_cache();
-OUTPUT_HTML("</DIV>");
+OUTPUT_HTML("</div>");
 
 //
 ?>