mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 18:59:48 +01:00
Improve FTL information box on the Settings page
This commit is contained in:
@@ -140,7 +140,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
if(strpos(exec("ps -p `cat /var/run/pihole-FTL.pid` -o comm="), "pihole-FTL") !== false)
|
||||
$FTL = false;
|
||||
$FTLpid = file_get_contents("/var/run/pihole-FTL.pid");
|
||||
if (file_exists( "/proc/".$FTLpid ))
|
||||
{
|
||||
$FTL = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user