Merge pull request #167 from pi-hole/gravCountFix

change data.php IPv6 check to reflect new variable name in setupVars.…
This commit is contained in:
Adam Warner
2016-10-17 18:57:06 +01:00
committed by GitHub
+1 -1
View File
@@ -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');