From 183c476b5984c2d288e01b0c1eb8145d6b035d08 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Mon, 10 Sep 2012 08:18:28 -0400 Subject: [PATCH] - Added check for the apps vhost to find out if the default PHP-FPM pool uses port 9000 or the socket /var/run/php5-fpm.sock. --- server/plugins-available/nginx_plugin.inc.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/plugins-available/nginx_plugin.inc.php b/server/plugins-available/nginx_plugin.inc.php index 056d83a..e5a37ff 100644 --- a/server/plugins-available/nginx_plugin.inc.php +++ b/server/plugins-available/nginx_plugin.inc.php @@ -1051,7 +1051,7 @@ unset($client); unset($aa_search); unset($aa_replace); - $server_alias[] .= $auto_alias; + $server_alias[] .= $auto_alias.' '; } // get alias domains (co-domains and subdomains) @@ -1904,8 +1904,8 @@ foreach($ini_settings as $ini_setting){ list($key, $value) = explode('=', $ini_setting); if($value){ - $value = escapeshellcmd(trim($value)); - $key = escapeshellcmd(trim($key)); + $value = trim($value); + $key = trim($key); switch (strtolower($value)) { case '0': // PHP-FPM might complain about invalid boolean value if you use 0 -- Gitblit v1.9.1