Create option to not allow a normal user to add zones

This commit is contained in:
Mark Schouten 2014-10-01 09:46:44 +02:00
parent 4881858d68
commit 00c40c047e
3 changed files with 15 additions and 6 deletions

View file

@ -1,15 +1,15 @@
<?php
$apiuser = ''; # The PowerDNS API username
$apipass = ''; # The PowerDNS API-user password
$apiip = ''; # The IP of the PowerDNS API
$apiport = '8081'; # The port of the PowerDNS API
$apisid = ''; # PowerDNS's :server_id
$apiuser = ''; # The PowerDNS API username
$apipass = ''; # The PowerDNS API-user password
$apiip = ''; # The IP of the PowerDNS API
$apiport = '8081'; # The port of the PowerDNS API
$apisid = ''; # PowerDNS's :server_id
$allowzoneadd = FALSE; # Allow normal users to add zones
# If you configure this, nsedit will try to authenticate via WeFact too.
# Debtors will be added to the sqlitedatabase with their crypted password.
#$wefactapiurl = 'https://yourdomain/Pro/apiv2/api.php';
#$wefactapikey = 'xyz';