From aae8ccebebdbf86e03ae1c3451d61a0b395a5789 Mon Sep 17 00:00:00 2001 From: "Nicolas A. Tonne" Date: Tue, 14 Oct 2014 12:33:47 +0200 Subject: [PATCH] Shortened active channel time-window --- php/nochan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/nochan.php b/php/nochan.php index b1b24128..72893fd5 100755 --- a/php/nochan.php +++ b/php/nochan.php @@ -7,7 +7,7 @@ if(isset($_GET['chan'])){ $dir = scandir('./lists'); $channels = array(); -$time = 60*60*24*7*1; //1 uke +$time = 60*60*24*3; //3 dager foreach($dir as $files){ if(strpos($files, '.json') !== FALSE){ if(time() - filemtime('./lists/'.$files) < $time){