From 6442d6901620538a5cf32210296827608878bb22 Mon Sep 17 00:00:00 2001 From: Mark Everett Date: Thu, 18 Nov 2010 03:59:40 +0000 Subject: [PATCH] Moving sensitive config information to production.yml and adding sqlite config to development .yml --- config.yml | 10 ++++++++++ environments/development.yml | 5 +++++ environments/production.yml | 7 ------- 3 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 config.yml delete mode 100644 environments/production.yml diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..2c7f313 --- /dev/null +++ b/config.yml @@ -0,0 +1,10 @@ +layout: "main" +logger: "file" +appname: "web" +session: "Simple" + +template: template_toolkit +engines: + template_toolkit: + start_tag: '[%' + stop_tag: '%]' diff --git a/environments/development.yml b/environments/development.yml index 5a07f1e..3506407 100644 --- a/environments/development.yml +++ b/environments/development.yml @@ -6,3 +6,8 @@ show_errors: 1 # you should enable it by yourself if you want it # Module::Refresh is needed auto_reload: 1 + +plugins: + DBIC: + qrdb: + dsn: dbi:sqlite:dbname=qrdb.sqlite diff --git a/environments/production.yml b/environments/production.yml deleted file mode 100644 index db68a2c..0000000 --- a/environments/production.yml +++ /dev/null @@ -1,7 +0,0 @@ -log: "warning" -warnings: 0 -show_errors: 0 -route_cache: 1 -# never enable auto_reload in production -auto_reload: 0 -