country wip

This commit is contained in:
salam committed 2025-08-14 16:05:36 +02:00
1 parent 7396b40114
commit 97fa1202f0
21 files changed
+757 -3

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Utilities;
use Illuminate\Support\Facades\Storage;
class Lastcall
{
public static function load($file)
{
$lastcall = (int) Storage::disk('local')->get($file);
if ($lastcall < time() - 30) {
$lastcall = time() - 30;
}
Storage::disk('local')->put($file, time());
return trim($lastcall);
}
}