mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 18:59:48 +01:00
Remove unused sprintf function
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
|
||||
// Login successful, redirect the user to the homepage to discard the POST request
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST' && $_SERVER['QUERY_STRING'] === 'login') {
|
||||
header(sprintf('Location: index.php'));
|
||||
header('Location: index.php');
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user