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:
@@ -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'
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user