X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-wernis_portal.php;h=126a08492f3553b52684d6c4efc2c686095374ae;hb=0f9bc55be42f9851cc87a06f3971c853a83425a7;hp=b19dc24d2227ba89d41ed1fd4ad237a7c804331c;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e;p=mailer.git diff --git a/inc/modules/guest/what-wernis_portal.php b/inc/modules/guest/what-wernis_portal.php index b19dc24d22..126a08492f 100644 --- a/inc/modules/guest/what-wernis_portal.php +++ b/inc/modules/guest/what-wernis_portal.php @@ -18,6 +18,7 @@ * 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 +55,9 @@ if ((!isExtensionActive('wernis')) && (!isAdmin())) { outputHtml('
'); $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 +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'));