reflect same permission requirement for documentroot in Domains.add() and Domains.update()

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-04-20 16:18:02 +02:00
parent b1191917b8
commit 949f258f54
2 changed files with 0 additions and 2 deletions

View File

@@ -119,7 +119,6 @@ return array(
'image' => 'icons/domain_add.png', 'image' => 'icons/domain_add.png',
'fields' => array( 'fields' => array(
'documentroot' => array( 'documentroot' => array(
'visible' => $userinfo['change_serversettings'] == '1',
'label' => 'DocumentRoot', 'label' => 'DocumentRoot',
'desc' => $lng['panel']['emptyfordefault'], 'desc' => $lng['panel']['emptyfordefault'],
'type' => 'text' 'type' => 'text'

View File

@@ -129,7 +129,6 @@ return array(
'image' => 'icons/domain_edit.png', 'image' => 'icons/domain_edit.png',
'fields' => array( 'fields' => array(
'documentroot' => array( 'documentroot' => array(
'visible' => $userinfo['change_serversettings'] == '1',
'label' => 'DocumentRoot', 'label' => 'DocumentRoot',
'desc' => $lng['panel']['emptyfordefault'], 'desc' => $lng['panel']['emptyfordefault'],
'type' => 'text', 'type' => 'text',