From db1a39b6d909d4afcbe92da1cb0073c9ac38f228 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Wed, 24 Mar 2021 13:49:58 +0100 Subject: [PATCH] match composePhpOptions() definition everywhere Signed-off-by: Michael Kaufmann --- lib/Froxlor/Cron/Http/Apache.php | 2 +- lib/Froxlor/Cron/Http/Lighttpd.php | 2 +- lib/Froxlor/Cron/Http/Nginx.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Froxlor/Cron/Http/Apache.php b/lib/Froxlor/Cron/Http/Apache.php index 1f37b78f..f580fc9f 100644 --- a/lib/Froxlor/Cron/Http/Apache.php +++ b/lib/Froxlor/Cron/Http/Apache.php @@ -565,7 +565,7 @@ class Apache extends HttpConfigBase * * @return string */ - protected function composePhpOptions($domain, $ssl_vhost = false) + protected function composePhpOptions(&$domain, $ssl_vhost = false) { $php_options_text = ''; diff --git a/lib/Froxlor/Cron/Http/Lighttpd.php b/lib/Froxlor/Cron/Http/Lighttpd.php index fda3b6bc..5d9f6b5e 100644 --- a/lib/Froxlor/Cron/Http/Lighttpd.php +++ b/lib/Froxlor/Cron/Http/Lighttpd.php @@ -364,7 +364,7 @@ class Lighttpd extends HttpConfigBase return; } - protected function composePhpOptions($domain) + protected function composePhpOptions(&$domain) { return; } diff --git a/lib/Froxlor/Cron/Http/Nginx.php b/lib/Froxlor/Cron/Http/Nginx.php index 393f3cf4..8d51c0b6 100644 --- a/lib/Froxlor/Cron/Http/Nginx.php +++ b/lib/Froxlor/Cron/Http/Nginx.php @@ -970,7 +970,7 @@ class Nginx extends HttpConfigBase return $returnval; } - protected function composePhpOptions($domain, $ssl_vhost = false) + protected function composePhpOptions(&$domain, $ssl_vhost = false) { $phpopts = ''; if ($domain['phpenabled_customer'] == 1 && $domain['phpenabled_vhost'] == '1') {