aboutsummaryrefslogtreecommitdiff
path: root/app/App_FrontController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/App_FrontController.php')
-rw-r--r--app/App_FrontController.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/App_FrontController.php b/app/App_FrontController.php
index a8415169c..1fd1d8868 100644
--- a/app/App_FrontController.php
+++ b/app/App_FrontController.php
@@ -40,7 +40,15 @@ class App_FrontController extends FrontController {
}
private function loadParamsView () {
- $this->conf = Session::param ('conf', new RSSConfiguration ());
+ try {
+ $this->conf = Session::param ('conf', new RSSConfiguration ());
+ } catch(MinzException $e) {
+ // Permission denied or conf file does not exist
+ // it's critical!
+ print $e->getMessage();
+ exit();
+ }
+
View::_param ('conf', $this->conf);
$entryDAO = new EntryDAO ();