FreightOrders/storage/wipeDb.php
2025-11-09 21:02:44 +02:00

11 lines
187 B
PHP

<?php
$files = [
'users.json',
'carriers.json',
];
foreach ($files as $file) {
$path = __DIR__."/$file";
file_put_contents($path, json_encode([], JSON_PRETTY_PRINT));
}