How to Load Data from Database into Custom Files (v2024)

Unfortunately, in v2025 (and other recent versions), it is strongly not recommended to disable Include common files option anymore.

You should always enable that option in order to use the global functions that provided by PHPMaker: How to Load Data from Database into Custom File (v2025)

If you only login the user and do something without any HTML in response, you better use Route_Action server event.