diff options
author | jim-p <jimp@pfsense.org> | 2011-06-17 14:14:21 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-06-17 14:14:21 -0400 |
commit | 5d2e5116029edf8b7ca6afc734cb93600769d68b (patch) | |
tree | 3af4ccfd68bb7f372c4d3909d377ca7561baca50 /etc | |
parent | c41602e15ccb10cadb70d3295021a2208b0f4ba4 (diff) | |
download | pfsense-5d2e5116029edf8b7ca6afc734cb93600769d68b.zip pfsense-5d2e5116029edf8b7ca6afc734cb93600769d68b.tar.gz |
Fix formatting of fastcgi params in lighty config.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 4857ccf..ca0ad4d 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -843,26 +843,26 @@ function system_generate_lighty_config($filename, if($captive_portal == true) { $bin_environment = <<<EOC - "bin-environment" => ( - "PHP_FCGI_CHILDREN" => "$max_procs", - "PHP_FCGI_MAX_REQUESTS" => "500" - ), + "bin-environment" => ( + "PHP_FCGI_CHILDREN" => "$max_procs", + "PHP_FCGI_MAX_REQUESTS" => "500" + ), EOC; } else if ($avail > 0 and $avail < 128) { $bin_environment = <<<EOC - "bin-environment" => ( - "PHP_FCGI_CHILDREN" => "$max_procs", - "PHP_FCGI_MAX_REQUESTS" => "2", - ), + "bin-environment" => ( + "PHP_FCGI_CHILDREN" => "$max_procs", + "PHP_FCGI_MAX_REQUESTS" => "2", + ), EOC; } else $bin_environment = <<<EOC - "bin-environment" => ( - "PHP_FCGI_CHILDREN" => "$max_procs", - "PHP_FCGI_MAX_REQUESTS" => "500" - ), + "bin-environment" => ( + "PHP_FCGI_CHILDREN" => "$max_procs", + "PHP_FCGI_MAX_REQUESTS" => "500" + ), EOC; if($fast_cgi_enable == true) { @@ -877,7 +877,7 @@ fastcgi.server = ( ".php" => "socket" => "{$g['tmp_path']}/php-fastcgi.socket", "min-procs" => 0, "max-procs" => {$max_procs}, - {$bin_environment} +{$bin_environment} "bin-path" => "/usr/local/bin/php" ) ) |