I only need a project for API only both inbuilt API like api/login and my custom Api . I dont want web pages loding can i delete the whole view folder ? or redirect all in the global code or layout.php? I'm on PHPmaker 2026
I only need a project for API only both inbuilt API like api/login and my custom Api . I dont want web pages loding can i delete the whole view folder ? or redirect all in the global code or layout.php? I'm on PHPmaker 2026
You may try to use Page_Loading server event to check if IsApi(). If not, do what you want.