1
0
mirror of synced 2026-03-28 20:28:45 +00:00

feat(login/register) blabla

This commit is contained in:
Valentin
2024-06-10 18:19:34 +02:00
parent f6570e074c
commit 10825d7598
17 changed files with 243 additions and 38 deletions

View File

@@ -1,10 +1,5 @@
<?php
function getStops($line) {
$json = file_get_contents("../data/stops.json");
$data = json_decode($json, true);
$result = array_filter($data, function($item) use ($line) {
return $item['fields']['mode'] === 'METRO' && $item['fields']['indice_lig'] === "$line";
});
return $result;
}
?>