mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update ajax handler + indicate status
This commit is contained in:
@@ -19,7 +19,7 @@ if (isset($_POST['blocklist_id'])) {
|
||||
$blocklist = $notracking_url . $file;
|
||||
|
||||
exec("sudo /etc/raspap/adblock/update_blocklist.sh $blocklist $file $dnsmasq_config", $return);
|
||||
|
||||
echo json_encode($return);
|
||||
$jsonData = ['return'=>$return];
|
||||
echo json_encode($jsonData);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user