mirror of
https://github.com/pi-hole/web.git
synced 2026-04-22 09:48:56 +01:00
Incorporate upstream changes
Signed-off-by: Matthias Rank <development@m-rank.de>
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
log_and_die('Not allowed (login session invalid or expired, please relogin on the Pi-hole dashboard)!');
|
||||
}
|
||||
|
||||
switch ($_REQUEST['action'])
|
||||
|
||||
switch ($_POST['action'])
|
||||
{
|
||||
case 'get': echo json_encode(echoCustomCNAMEEntries()); break;
|
||||
case 'add': echo json_encode(addCustomCNAMEEntry()); break;
|
||||
@@ -20,4 +21,6 @@
|
||||
default:
|
||||
die("Wrong action");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user