Generate php arrays from the data files
This commit is contained in:
parent
e0785d32fe
commit
36893d1e83
1 changed files with 5 additions and 0 deletions
5
data.php
Normal file
5
data.php
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?php
|
||||||
|
$routes = json_decode(file_get_contents("routes.json"), true);
|
||||||
|
$stops = json_decode(file_get_contents("stops.json"), true);
|
||||||
|
$busposition = json_decode(file_get_contents("busposition.json"), true);
|
||||||
|
?>
|
Reference in a new issue