]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-wernis_portal.php
Fixed handling of empty referal id, see bug #196
[mailer.git] / inc / modules / guest / what-wernis_portal.php
index 994bd8d72dcbd9190b0fe8cc396d45c0316c6945..0affedbdbf82595bc4f1d95bc4c93708fe17bce2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/19/2003 *
- * ================                             Last change: 10/19/2003 *
+ * Mailer v0.2.1-FINAL                                Start: 10/19/2003 *
+ * ===================                          Last change: 10/19/2003 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-                                            *
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -54,8 +53,9 @@ if ((!isExtensionActive('wernis')) && (!isAdmin())) {
 
 outputHtml('<div style="padding-left: 10px; padding-right: 10px">');
 $rdf = new fase4_rdf();
+$rdf->_use_nl2br = false;
 $rdf->use_dynamic_display(false);
-$rdf->set_CacheDir(getConfig('CACHE_PATH') . '');
+$rdf->set_CacheDir(getCachePath() . '');
 $rdf->set_salt(md5(getConfig('SITE_KEY')));
 $rdf->set_max_item(10);
 $rdf->set_Options(
@@ -68,7 +68,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'));