More Info
This commit is contained in:
parent
c0de65e8ff
commit
f2c4b4933c
1 changed files with 1 additions and 1 deletions
|
@ -14634,8 +14634,8 @@ function configtest_reload_webserver(){
|
|||
return true;
|
||||
}
|
||||
|
||||
$out=shell_exec('nginx -T 2>&1');
|
||||
system(getServiceActionStr("nginx", "configtest"),$ret);
|
||||
$out=shell_exec('nginx -t 2>&1');
|
||||
|
||||
if($ret<>0){
|
||||
echo "\n $webserver configuration issue detected! There is an error in the config.\n";
|
||||
|
|
Loading…
Reference in a new issue