change data.php IPv6 check to reflect new variable name in setupVars.conf

This commit is contained in:
Promofaux
2016-10-17 18:55:58 +01:00
parent 5be14ad6e2
commit 16422460bf
+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');