Use functions
All checks were successful
Web/tracks/pipeline/head This commit looks good
web/tracks/pipeline/head This commit looks good

This commit is contained in:
Julien Cabillot 2020-04-17 16:53:44 -04:00
parent 92c69fbe28
commit 1836ae1c92

View File

@ -40,7 +40,7 @@ function store_sqlite3($data) {
function store_raw($data) {
$db_path = DB_DIR.'/location-'.date('Y-m').'.raw';
file_put_contents($db_path, serialize($data));
file_put_contents($db_path, serialize($data), FILE_APPEND);
}
$payload = file_get_contents("php://input");