Browse Source

restart webserver if docroot has changed

Serghey Rodin 9 năm trước cách đây
mục cha
commit
82b51724a7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      web/edit/web/index.php

+ 2 - 0
web/edit/web/index.php

@@ -432,6 +432,8 @@ if (!empty($_POST['save'])) {
             exec (VESTA_CMD."v-change-web-domain-sslhome ".$user." ".$v_domain." ".$v_ssl_home." 'no'", $output, $return_var);
             check_return_code($return_var,$output);
             $v_ssl_home = $_POST['v_ssl_home'];
+            $restart_web = 'yes';
+            $restart_proxy = 'yes';
             unset($output);
         }
     }