commit | a3494a842b1ed37fe379fa818dc4a0ea0bce2ee2 | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Sun Sep 12 18:43:03 2021 +0200 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Sun Sep 12 18:43:03 2021 +0200 |
tree | a44a03613e2d763cab35905265886f2f5ee01c43 | |
parent | 6abfed4e657e081c9e8dbeee368e5873ee1ee5ec [diff] |
Add disclaimer in main page Change-Id: I2b7b5de09abdda059180f05ef6e3734c771f6954
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
.cron/parsegtfs.php
script regularly to get updated information (e.g. once a week).