diff --git a/panel/classes/Panel/Vdns.php b/panel/classes/Panel/Vdns.php
index f05d0c2..b85772f 100644
--- a/panel/classes/Panel/Vdns.php
+++ b/panel/classes/Panel/Vdns.php
@@ -15,7 +15,7 @@ class Vdns extends \Panel {
parent::beforeRoute($f3);
- if ($f3->get('PDNSADMIN') != '1') {
+ if ($f3->get('VDNSADMIN') != '1') {
$f3->reroute('/');
}
diff --git a/panel/config/config.ini b/panel/config/config.ini
index 989f3b8..9881b0b 100644
--- a/panel/config/config.ini
+++ b/panel/config/config.ini
@@ -29,8 +29,8 @@ WRITEUSERINFO=1
; Show "Write User Info" & "Write DB Info" options. If no then just use defaults above without giving users the option to change. 1 = Yes, blank or 0 = No
SHOWWRITEINFO=0
; DNS admin. 1 = Yes, blank or 0 = No
-PDNSADMIN=0
+VDNSADMIN=0
; Maximum number of results returned for DNS listings. Defaults to 100 if unspecified.
;PDNSMAX=100
-; URL to phpMyPDNS. If this is set, and PDNSADMIN is enabled, show link to phpMyPDNS
+; URL to phpMyPDNS. If this is set, and VDNSADMIN is enabled, show link to phpMyPDNS
PHPMYPDNSURL=
diff --git a/panel/index.php b/panel/index.php
index f522a7a..fe2ecf7 100644
--- a/panel/index.php
+++ b/panel/index.php
@@ -39,7 +39,7 @@ $f3->set('NAV.mapping', $mapping);
$f3->config("config/maps-$mapping.ini");
/* load DNS mapping, if enabled */
-if ($f3->get('PDNSADMIN') == '1') {
+if ($f3->get('VDNSADMIN') == '1') {
$f3->config("config/maps-vdns.ini");
}
diff --git a/panel/ui/header.html b/panel/ui/header.html
index 04f23b1..da832d2 100644
--- a/panel/ui/header.html
+++ b/panel/ui/header.html
@@ -33,7 +33,7 @@
Databases |
Certificates |
Users |
- DNS |
+ DNS |
Logout