avm99963 | 99bb77c | 2020-01-27 03:15:08 +0100 | [diff] [blame^] | 1 | <?php |
2 | require_once(__DIR__."/../core.php"); | ||||
3 | |||||
4 | echo "[info] Getting gtfs.zip file...\n"; | ||||
5 | $temp = tmpfile(); | ||||
6 | tmbApi::request("static/datasets/gtfs.zip", $temp); | ||||
7 | |||||
8 | echo "\n"; | ||||
9 | |||||
10 | gtfsHandler::createDatabase(stream_get_meta_data($temp)['uri']); |