More Info

This commit is contained in:
earnolmartin 2021-03-03 14:14:30 -07:00
parent c0de65e8ff
commit f2c4b4933c

View file

@ -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";