From f0c46d85273c63f3b0c0682599d0ff89f67a6e7b Mon Sep 17 00:00:00 2001 From: Etiene Dalcol Date: Wed, 2 Dec 2015 10:22:17 +0100 Subject: [PATCH] docs(config): Adds documentation on recent modifications --- CHANGELOG.md | 1 + docs/CONFIG.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef7b487..4f1ff0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ * Make Lighttpd support work again ([e9190523](https://github.com/Etiene/sailor/commit/e9190523)) * Fixes openresty environment issue ([42545098](https://github.com/Etiene/sailor/commit/42545098)) * **core** + * Allow hiding stack trace ([b75c9181](https://github.com/Etiene/sailor/commit/b75c9181)) * Path fixes on set_application_path and make_url. ([7d4528d5](https://github.com/Etiene/sailor/commit/7d4528d5)) * Fixing set application path ([9d9a1ab6](https://github.com/Etiene/sailor/commit/9d9a1ab6)) * Fixing route paths and status code for Xavante and Apache ([e2369138](https://github.com/Etiene/sailor/commit/e2369138)) diff --git a/docs/CONFIG.md b/docs/CONFIG.md index 902eb24..2ebd646 100644 --- a/docs/CONFIG.md +++ b/docs/CONFIG.md @@ -24,6 +24,8 @@ You will find Sailor's config file under `conf/conf.lua`. This file contains a t `environment` is a string with the name of your current environment. Example: 'test' +`hide_stack_trace` is a boolean that if set to true will make Sailor not throw the full stack trace on errors but a default 500 Internal Server Error message + `db` contains a table with your different database setups. They must contain the following fields: `driver` is your database driver, example: 'mysql'.