aboutsummaryrefslogtreecommitdiffstats
path: root/MainApp.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2010-05-22 01:09:22 +0300
committerFilipp Lepalaan <filipp@mac.com>2010-05-22 01:09:22 +0300
commita42c754c31761767cd1ca6dcfe416671409f5435 (patch)
treed4746a5b9c5b0764fc3c9ada045097f5b632d6af /MainApp.php
parent8ec4e59bb0ddac89f36dcb48ee3f14c737e6e80f (diff)
downloadmain-a42c754c31761767cd1ca6dcfe416671409f5435.tar.gz
main-a42c754c31761767cd1ca6dcfe416671409f5435.tar.bz2
main-a42c754c31761767cd1ca6dcfe416671409f5435.zip
Fix
Diffstat (limited to 'MainApp.php')
-rw-r--r--MainApp.php4
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);