add enabled-flag; enable dns-editor for customers; add german translations; few more fixes

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-05-13 13:27:33 +02:00
parent 4a4acc5c01
commit 11eb08e031
10 changed files with 46 additions and 5 deletions

View File

@@ -181,7 +181,11 @@ while ($row = $result_tasks_stmt->fetch(PDO::FETCH_ASSOC)) {
*/
elseif ($row['type'] == '4' && (int)Settings::Get('system.bind_enable') != 0) {
$bindclass ="bind2";
$bindclass ="bind";
if (Settings::Get('system.dnsenabled') == '1') {
$bindclass = "bind2";
}
if (!isset($nameserver)) {
$nameserver = new $bindclass($cronlog);