]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_proxy.php
Fix in CREATE_EXTENSION_DEACTIVATION_TASK() and coding-style updated
[mailer.git] / inc / modules / admin / what-config_proxy.php
index df6e62b19005011dd0210b58b7ed9fc88536e3f5..3a2f37ec3188c38e2d5239418bf8b3dfd62e6da5 100644 (file)
@@ -38,7 +38,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
 
 if (isset($_POST['ok'])) {
        // Test proxy settings
@@ -52,10 +52,10 @@ if (isset($_POST['ok'])) {
 } else {
        // Prepare content
        $content = array(
-               'proxy_host'     => $_CONFIG['proxy_host'],
-               'proxy_port'     => $_CONFIG['proxy_port'],
-               'proxy_username' => $_CONFIG['proxy_username'],
-               'proxy_password' => $_CONFIG['proxy_password'],
+               'proxy_host'     => getConfig('proxy_host'),
+               'proxy_port'     => getConfig('proxy_port'),
+               'proxy_username' => getConfig('proxy_username'),
+               'proxy_password' => getConfig('proxy_password'),
        );
 
        // Load template