mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Update data.php
Reflect var name changes in development branch of pihole
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$log = array();
|
||||
$divide = parse_ini_file("/etc/pihole/setupVars.conf")['IPv6_address'] != "" && parse_ini_file("/etc/pihole/setupVars.conf")['IPv4_address'] != "";
|
||||
$divide = parse_ini_file("/etc/pihole/setupVars.conf")['IPV6_ADDRESS'] != "" && parse_ini_file("/etc/pihole/setupVars.conf")['IPV4_ADDRESS'] != "";
|
||||
$hosts = file_exists("/etc/hosts") ? file("/etc/hosts") : array();
|
||||
$log = new \SplFileObject('/var/log/pihole.log');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user