The conf/config.php
file contains constants that help you to quickly configure certain aspects of your applciation.
Constant | Purpose | Default | Options |
---|---|---|---|
__MAINTENANCE_MODE |
Determine if your app is currently in maintenance mode or not. The file used can be found at www/maintenance.html |
false |
true or false |
__CATCH_FIRST_PARAM | Should catch all mode be enabled. | false |
true or false |
__PRODUCTION | Is the app being run in production mode? By default it relies on an environment variable called 'environment' to be set to 'production'. You are free to change the logic. |
Environment variable | true or false |