mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Don't use AJAX links and forms
This commit is contained in:
@@ -452,7 +452,7 @@ function redirect($location, $message = null) {
|
||||
if ($location == "") {
|
||||
$location = ".";
|
||||
}
|
||||
header((is_ajax() ? "X-AJAX-Redirect" : "Location") . ": $location");
|
||||
header("Location: $location");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user