aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/ShaarliMiddleware.php
Commit message (Collapse)AuthorAgeFilesLines
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-231-3/+3
| | | | Also prefix most admin routes with /admin/
* Explicitly define base and asset path in templatesArthurHoaro2020-07-231-0/+2
| | | | | | | With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers.
* Initialize admin Slim controllersArthurHoaro2020-07-231-2/+5
| | | | | | - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links
* Render login page through Slim controllerArthurHoaro2020-01-261-0/+57