mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Shortened active channel time-window
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user