diff options
Diffstat (limited to 'MainApp.php')
-rw-r--r-- | MainApp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MainApp.php b/MainApp.php index e55a74a..6007bd0 100644 --- a/MainApp.php +++ b/MainApp.php @@ -8,7 +8,7 @@ class MainApp //// // Fire up the application static public function init() - { + { @list($controller, $param, $action) = App::url(); // no action given, read default one @@ -81,7 +81,7 @@ class MainApp if (!file_exists($cpath)) { trigger_error('Failed to open config file', E_USER_ERROR); - exit(); + return false; } $config = parse_ini_file($cpath, true); |