Check for updates every two days

Signed off by WaLLy3K <wally3k@pi-hole.net>
This commit is contained in:
WaLLy3K
2017-10-12 20:54:04 +11:00
committed by GitHub
parent d6262a083e
commit 60b5e36c32

View File

@@ -51,8 +51,8 @@ if(is_readable($versionfile))
// Obtain latest time stamp from buffer file
$versions = explode(",",file_get_contents($versionfile));
// Is last check for updates older than 30 minutes?
if($timestamp >= intval($versions[0]) + 1800)
// Is last check for updates older than 48 hours?
if($timestamp >= intval($versions[0]) + 172800)
{
// Yes: Retrieve new/updated version data
$check_version = true;