- Hide the option on whether to include default directives with webservers different than nginx

- Typo fix
- Indentation fix
This commit is contained in:
Johannes Feichtner
2016-02-26 19:08:08 +01:00
parent 48a1b9489a
commit 373cb912d8
6 changed files with 15 additions and 13 deletions

View File

@@ -151,6 +151,7 @@ return array(
'value' => array()
),
'vhost_usedefaultlocation' => array(
'visible' => (Settings::Get('system.webserver') == 'nginx' ? true : false),
'label' => $lng['admin']['vhostconfig']['vhost_usedefaultlocation']['title'],
'desc' => $lng['admin']['vhostconfig']['vhost_usedefaultlocation']['desc'],
'type' => 'checkbox',