Add missing spaces found by linter
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
parent
8d9ff550d4
commit
2b5033e732
|
@ -113,7 +113,7 @@ if (is_file("/etc/pihole/adlists.list")) {
|
||||||
|
|
||||||
// Get possible non-standard location of FTL's database
|
// Get possible non-standard location of FTL's database
|
||||||
$FTLsettings = parse_ini_file("/etc/pihole/pihole-FTL.conf");
|
$FTLsettings = parse_ini_file("/etc/pihole/pihole-FTL.conf");
|
||||||
if(isset($FTLsettings["GRAVITYDB"])) {
|
if (isset($FTLsettings["GRAVITYDB"])) {
|
||||||
$gravityDBFile = $FTLsettings["GRAVITYDB"];
|
$gravityDBFile = $FTLsettings["GRAVITYDB"];
|
||||||
} else {
|
} else {
|
||||||
$gravityDBFile = "/etc/pihole/gravity.db";
|
$gravityDBFile = "/etc/pihole/gravity.db";
|
||||||
|
@ -129,7 +129,7 @@ try {
|
||||||
// Get all adlist addresses
|
// Get all adlist addresses
|
||||||
$adlistResults = $db->query("SELECT address FROM vw_adlist");
|
$adlistResults = $db->query("SELECT address FROM vw_adlist");
|
||||||
$adlistsUrls = array();
|
$adlistsUrls = array();
|
||||||
while($row = $adlistResults->fetchArray()) {
|
while ($row = $adlistResults->fetchArray()) {
|
||||||
array_push($adlistsUrls, $row[0]);
|
array_push($adlistsUrls, $row[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue