Enable/Disable Debug mode with PHP

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
ethanlazarus
User
Posts: 65

Enable/Disable Debug mode with PHP

Post by ethanlazarus »

Is there a way to enable / disable debug mode in php, without having to regenerate files and upload?
Alternatively, can I manually edit a file to enable / disable?
Big project, takes a long time to regenerate, upload to server each time I want to turn it on and off.
Thx.


arbei
User
Posts: 9419

Post by arbei »

You may simply change the settings for debugging in the src/config.php, or you may simply generate the src/config.php and upload it.


ethanlazarus
User
Posts: 65

Post by ethanlazarus »

Thanks so much! Looks like you could also use this to enable and disable maintenance mode quickly. Really appreciate the help.


Post Reply