diff --git a/15-Configuration.md b/15-Configuration.md new file mode 100644 index 0000000..0996586 --- /dev/null +++ b/15-Configuration.md @@ -0,0 +1,10 @@ +You can customize certain behaviors of Flight by setting configuration values through the set method. + + Flight::set('flight.log_errors', true); + +The following is a list of all the available configuration settings. + + flight.base_url - Override the base url of the request. (default: null) + flight.handle_errors - Allow Flight to handle all errors internally. (default: true) + flight.log_errors - Log errors to the web server's error log file. (default: false) + flight.views.path - Directory containing view template files (default: ./views)