[Web] Replaced die(); with exit(); due to code conventions
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user