Skip to content

Commit 0c99f99

Browse files
authored
Merge pull request hestiacp#1262 from hestiacp/fix/2020-10-restart_php_add_domain
Restart web/backend when creating php to ensure php.sock is created correctly
2 parents c7a6bf4 + e5fcbcd commit 0c99f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/add/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122

123123
// Add web domain
124124
if (empty($_SESSION['error_msg'])) {
125-
exec (HESTIA_CMD."v-add-web-domain ".$user." ".escapeshellarg($v_domain)." ".$v_ip." 'no' ".$aliases." ".$proxy_ext, $output, $return_var);
125+
exec (HESTIA_CMD."v-add-web-domain ".$user." ".escapeshellarg($v_domain)." ".$v_ip." 'yes' ".$aliases." ".$proxy_ext, $output, $return_var);
126126
check_return_code($return_var,$output);
127127
unset($output);
128128
$domain_added = empty($_SESSION['error_msg']);

0 commit comments

Comments
 (0)