Initial commit

This commit is contained in:
2026-01-07 14:09:59 +08:00
commit 8a00aa71d5
939 changed files with 40616 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
// cleanup_qrcodes.php
$temp_dir = '../temp_qrcodes/';
if (file_exists($temp_dir)) {
$files = glob($temp_dir . '*.png');
$now = time();
foreach ($files as $file) {
if (is_file($file)) {
// Delete files older than 1 hour
if ($now - filemtime($file) >= 3600) {
@unlink($file);
}
}
}
}
?>