match composePhpOptions() definition everywhere

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2021-03-24 13:49:58 +01:00
parent 7fbbc2ea0b
commit db1a39b6d9
3 changed files with 3 additions and 3 deletions

View File

@@ -565,7 +565,7 @@ class Apache extends HttpConfigBase
* *
* @return string * @return string
*/ */
protected function composePhpOptions($domain, $ssl_vhost = false) protected function composePhpOptions(&$domain, $ssl_vhost = false)
{ {
$php_options_text = ''; $php_options_text = '';

View File

@@ -364,7 +364,7 @@ class Lighttpd extends HttpConfigBase
return; return;
} }
protected function composePhpOptions($domain) protected function composePhpOptions(&$domain)
{ {
return; return;
} }

View File

@@ -970,7 +970,7 @@ class Nginx extends HttpConfigBase
return $returnval; return $returnval;
} }
protected function composePhpOptions($domain, $ssl_vhost = false) protected function composePhpOptions(&$domain, $ssl_vhost = false)
{ {
$phpopts = ''; $phpopts = '';
if ($domain['phpenabled_customer'] == 1 && $domain['phpenabled_vhost'] == '1') { if ($domain['phpenabled_customer'] == 1 && $domain['phpenabled_vhost'] == '1') {