diff --git a/root/push.php b/root/push.php index 7931b13..d217efd 100644 --- a/root/push.php +++ b/root/push.php @@ -40,7 +40,7 @@ function store_sqlite3($data) { function store_raw($data) { $db_path = DB_DIR.'/location-'.date('Y-m').'.raw'; - file_put_contents('toto', serialize($data)); + file_put_contents($db_path, serialize($data)); } $payload = file_get_contents("php://input");