This commit is contained in:
parent
707741aa4c
commit
92c69fbe28
@ -40,7 +40,7 @@ function store_sqlite3($data) {
|
|||||||
|
|
||||||
function store_raw($data) {
|
function store_raw($data) {
|
||||||
$db_path = DB_DIR.'/location-'.date('Y-m').'.raw';
|
$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");
|
$payload = file_get_contents("php://input");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user