Open Deadpikle opened 6 years ago
The router is now object oriented. Technically, the user could tweak init.php
to do their own routing, but we should still think about making this easier for the user. In addition, the views/static views folders (and file extension names) are configurable, so that makes things easier on the user, too.
Feature Request Description
Right now, a user can't add logic to the routing system without overriding the YAMF
router.php
file. We should make this extendable somehow.Feature Request Solution
Make the router object oriented (might cause problems with how we are currently using
require
)? Add a custom function that can be called by the router to do custom logic?