mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
change data.php IPv6 check to reflect new variable name in setupVars.conf
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$log = array();
|
||||
$ipv6 = parse_ini_file("/etc/pihole/setupVars.conf")['piholeIPv6'] != "";
|
||||
$ipv6 = parse_ini_file("/etc/pihole/setupVars.conf")['IPv6_address'] != "";
|
||||
$hosts = file_exists("/etc/hosts") ? file("/etc/hosts") : array();
|
||||
$log = new \SplFileObject('/var/log/pihole.log');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user