change $ipv6 value to read from /etc/pihole/setupVars.conf instead of /etc/pihole/.useIPV6

This commit is contained in:
Promofaux
2016-09-16 23:59:59 +01:00
parent f53a77301f
commit 55df44edf3
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
$log = array();
$ipv6 = file_exists("/etc/pihole/.useIPv6");
$ipv6 = parse_ini_file("/etc/pihole/setupVars.conf")['piholeIPv6'] != "";
$hosts = file_exists("/etc/hosts") ? file("/etc/hosts") : array();
/******* Public Members ********/