do not show dns-editor to customers if not allowed and they enter the URL manually
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -920,7 +920,7 @@ if ($page == 'overview') {
|
|||||||
|
|
||||||
eval("echo \"" . getTemplate("domains/domain_ssleditor") . "\";");
|
eval("echo \"" . getTemplate("domains/domain_ssleditor") . "\";");
|
||||||
}
|
}
|
||||||
} elseif ($page == 'domaindnseditor' && Settings::Get('system.dnsenabled') == '1') {
|
} elseif ($page == 'domaindnseditor' && $userinfo['dnsenabled'] == '1' && Settings::Get('system.dnsenabled') == '1') {
|
||||||
|
|
||||||
require_once __DIR__.'/dns_editor.php';
|
require_once __DIR__.'/dns_editor.php';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user