mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 10:50:23 +01:00
@@ -159,6 +159,9 @@ function readAdlists()
|
||||
|
||||
if(isset($_POST["field"]))
|
||||
{
|
||||
// Handle CSRF
|
||||
check_csrf(isset($_POST["token"]) ? $_POST["token"] : "");
|
||||
|
||||
// Process request
|
||||
switch ($_POST["field"]) {
|
||||
// Set DNS server
|
||||
|
||||
Reference in New Issue
Block a user