don't show openbasedir-textfield for customers if open-basedir is disabled for this domain (only edit), fixes #1224
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -88,6 +88,7 @@ return array(
|
|||||||
'value' => array($result['ssl_redirect'])
|
'value' => array($result['ssl_redirect'])
|
||||||
),
|
),
|
||||||
'openbasedir_path' => array(
|
'openbasedir_path' => array(
|
||||||
|
'visible' => ($result['openbasedir'] == '1') ? true : false,
|
||||||
'label' => $lng['domain']['openbasedirpath'],
|
'label' => $lng['domain']['openbasedirpath'],
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'select_var' => $openbasedir
|
'select_var' => $openbasedir
|
||||||
|
|||||||
Reference in New Issue
Block a user