add newline after custom options to avoid possible syntax error in apache-config, thx to J-BBB for testing

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-07-14 09:14:37 +02:00
parent b63fc5b508
commit c3753478f2

View File

@@ -86,7 +86,7 @@ class apache extends HttpConfigBase {
$custom_opts = Settings::Get('system.apacheglobaldiropt');
if (!empty($custom_opts))
{
$this->virtualhosts_data[$vhosts_filename].= $custom_opts;
$this->virtualhosts_data[$vhosts_filename].= $custom_opts . "\n";
}
else
{