diff options
| author | 2015-01-06 18:53:36 +0100 | |
|---|---|---|
| committer | 2015-01-06 18:53:36 +0100 | |
| commit | d3a93ea2905ae50a2365d293f9f3ef3e51bf5f30 (patch) | |
| tree | fbf240e82b244fc19907529750dd8be912d97b4b /lib/Minz/FrontController.php | |
| parent | d27efeec04c7c41cf0f52bc7f89879e66f2e44a9 (diff) | |
BREAKING FEATURE: Remove general in config
General attribute has been removed from system config.
Now subattributes (e.g. environment, salt, title, etc.) are directly accessible.
YOU HAVE TO FIX YOUR ./data/config.php file!
- Remove the general array
- Values inside this array must be kept
- To see what it must look like, please have a look to ./data/config.default.php
(but keep your values!!).
See https://github.com/FreshRSS/FreshRSS/issues/730
Diffstat (limited to 'lib/Minz/FrontController.php')
| -rw-r--r-- | lib/Minz/FrontController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/FrontController.php b/lib/Minz/FrontController.php index 974cf4260..f9eff3db6 100644 --- a/lib/Minz/FrontController.php +++ b/lib/Minz/FrontController.php @@ -116,7 +116,7 @@ class Minz_FrontController { private function setReporting() { $conf = Minz_Configuration::get('system'); - switch($conf->general['environment']) { + switch($conf->environment) { case 'production': error_reporting(E_ALL); ini_set('display_errors','Off'); |
