mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
@@ -108,18 +108,6 @@ function refresh(fade) {
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
// Blacklist: exact + wildcard array
|
||||
entry = entry.substr(1, entry.length - 1);
|
||||
|
||||
if(data.length === 2)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
*/
|
||||
}
|
||||
list.fadeIn(100);
|
||||
if(listw)
|
||||
|
||||
@@ -22,9 +22,9 @@ switch ($listtype) {
|
||||
break;
|
||||
|
||||
case "black":
|
||||
$exact = array(getListContent("blacklist.txt"));
|
||||
$regex = array(getListContent("regex.list"));
|
||||
$list = array_merge($exact, $regex);
|
||||
$exact = getListContent("blacklist.txt");
|
||||
$regex = getListContent("regex.list");
|
||||
$list = array($exact, $regex);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user