Skip to content

Commit aa28658

Browse files
committed
Restart web/backend when creating php to ensure php.sock is created correctly
1 parent f755067 commit aa28658

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/add/web/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
error_reporting(NULL);
2+
error_reporng(NULL);
33
ob_start();
44
$TAB = 'WEB';
55

@@ -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)