limite pour l'historique des changements
This commit is contained in:
parent
e64097ae1d
commit
c33902654a
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ $json[] = array(
|
|||
'status'=>$status,
|
||||
'response_code'=>$response_code
|
||||
);
|
||||
$json = array_slice($json, -50, 50);
|
||||
if(file_put_contents(RESOURCES_FOLDER.'rss.json', json_encode($json), LOCK_EX) === FALSE)
|
||||
{ return FALSE; }
|
||||
else { return TRUE; }
|
||||
|
|
Loading…
Reference in a new issue