fix nginx configs-generation when setting is 'one file', thx to pcdummy
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -261,7 +261,7 @@ class nginx {
|
|||||||
$this->nginx_data[$vhost_filename] = '';
|
$this->nginx_data[$vhost_filename] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((!empty($this->nginx_data[$vhost_filename])
|
if ((empty($this->nginx_data[$vhost_filename])
|
||||||
&& !is_dir(Settings::Get('system.apacheconf_vhost')))
|
&& !is_dir(Settings::Get('system.apacheconf_vhost')))
|
||||||
|| is_dir(Settings::Get('system.apacheconf_vhost'))
|
|| is_dir(Settings::Get('system.apacheconf_vhost'))
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user