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

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

No files matched your search

+2 -2
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();
}
}