Skip to content

Commit af99f3e

Browse files
author
Till Brehm
committed
Fixes #5362 wrong pool dir used for php-fpm
1 parent e39bc1d commit af99f3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,9 +1559,11 @@ function update($event_name, $data) {
15591559

15601560
if($default_php_fpm){
15611561
$pool_dir = $web_config['php_fpm_pool_dir'];
1562+
} else {
15621563
$pool_dir = $custom_php_fpm_pool_dir;
15631564
}
15641565
$pool_dir = trim($pool_dir);
1566+
15651567
if(substr($pool_dir, -1) != '/') $pool_dir .= '/';
15661568
$pool_name = 'web'.$data['new']['domain_id'];
15671569
$socket_dir = $web_config['php_fpm_socket_dir'];

0 commit comments

Comments
 (0)