|
@@ -93,7 +93,7 @@ HiddenServicePort 80 [::1]:" . INTERNAL_ONION_HTTP_PORT . "
|
|
file_put_contents(NGINX_CONFIG_PATH . "/" . $_POST['dir'] . ".conf", $nginxConf);
|
|
file_put_contents(NGINX_CONFIG_PATH . "/" . $_POST['dir'] . ".conf", $nginxConf);
|
|
|
|
|
|
// Reload Nginx
|
|
// Reload Nginx
|
|
- exec(SUDO_PATH . " " . MANIVER_PATH . " reload-nginx", $output);
|
|
|
|
|
|
+ exec(SUDO_PATH . " " . SYSTEMCTL_PATH . " reload nginx", $output);
|
|
addNiverLog("Nginx reloaded by " . $_SESSION['username'], $output);
|
|
addNiverLog("Nginx reloaded by " . $_SESSION['username'], $output);
|
|
|
|
|
|
// Tell the user their site address
|
|
// Tell the user their site address
|