How to turn on/off the exception messages

From TomatoCMS Documentation

Jump to: navigation, search

If you want your website to display the friendly message as below:

File:throwExceptions_disable.jpg

in /application/config/application.ini file, set:

resources.frontController.throwExceptions = "0"

Vice versa, if you set,

resources.frontController.throwExceptions = "1"

you will see the Fatal error message as below:

File:throwExceptions_enable.jpg

Personal tools