From c3753478f2bdd9f0d6c33573305099ccf09efffe Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Thu, 14 Jul 2016 09:14:37 +0200 Subject: [PATCH] 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) --- scripts/jobs/cron_tasks.inc.http.10.apache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jobs/cron_tasks.inc.http.10.apache.php b/scripts/jobs/cron_tasks.inc.http.10.apache.php index 0d45d0d1b1..19b2040962 100644 --- a/scripts/jobs/cron_tasks.inc.http.10.apache.php +++ b/scripts/jobs/cron_tasks.inc.http.10.apache.php @@ -86,7 +86,7 @@ private function _createStandardDirectoryEntry() { $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 {