Schedule viewer for the Barcelona subway.
ZipArchive
and PDO
classes (specifically install the PDO_SQLITE
driver)config.default.php
file to config.php
and fill in the details (you can get an API key directly from TMB here.$conf["databaseFile"]
enter the absolute path of the location where you want to save your database (including the file name). If the website is located in the /var/www/html/schedules/
folder, you can create a new files
folder there and set the variable to /var/www/html/schedules/files/gtfs.sqlite3
.