]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-wernis_portal.php
New naming convention applied to many functions, see #118 for details
[mailer.git] / inc / modules / guest / what-wernis_portal.php
index c41718afbaea44335868e182b7d0bd6eca36f3e8..bf3491770c4730dbc7304d81ce0b631d08c896f9 100644 (file)
@@ -41,12 +41,12 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 } elseif ((!EXT_IS_ACTIVE('wernis')) && (!IS_ADMIN())) {
-       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'wernis');
+       addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), 'wernis'));
        return;
 }
 
 // Special file
-LOAD_INC_ONCE("inc/rdf.class.php");
+loadIncludeOnce('inc/rdf.class.php');
 
 // Add description as navigation point
 ADD_DESCR('guest', __FILE__);
@@ -67,12 +67,12 @@ $rdf->set_Options(
 );
 
 // Use proxy?
-if ((getConfig('proxy_host') != "") && (getConfig('proxy_port') > 0)) {
+if ((getConfig('proxy_host') != '') && (getConfig('proxy_port') > 0)) {
        // Set proxy data
        $rdf->set_proxy(getConfig('proxy_host'), getConfig('proxy_port'));
 
        // Use auth?
-       if (getConfig('proxy_username') != "") {
+       if (getConfig('proxy_username') != '') {
                // Set auth data
                $rdf->set_proxy_auth(getConfig('proxy_username'), getConfig('proxy_password'));
        } // END  - if