From d0fe9ab3ebe1527eb31db0a324e370ad946dc3d4 Mon Sep 17 00:00:00 2001 From: shoully <shoully@msn.com> Date: Sat, 20 Dec 2014 06:52:00 -0800 Subject: [PATCH] Created 15 Configuration (markdown) --- 15-Configuration.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 15-Configuration.md 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)