[Web] Replaced die(); with exit(); due to code conventions

This commit is contained in:
ntimo
2019-10-04 08:40:24 +02:00
parent 0f5c930e48
commit cb9ab928b3
3 changed files with 6 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ if (!empty($_SERVER['HTTP_X_API_KEY'])) {
'msg' => 'api access denied for ip ' . $_SERVER['REMOTE_ADDR']
));
unset($_POST);
die();
exit();
}
}
else {
@@ -78,7 +78,7 @@ if (!empty($_SERVER['HTTP_X_API_KEY'])) {
'msg' => 'authentication failed'
));
unset($_POST);
die();
exit();
}
}