diff options
author | Filipp Lepalaan <filipp@mac.com> | 2010-05-22 01:09:22 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2010-05-22 01:09:22 +0300 |
commit | a42c754c31761767cd1ca6dcfe416671409f5435 (patch) | |
tree | d4746a5b9c5b0764fc3c9ada045097f5b632d6af /MainApp.php | |
parent | 8ec4e59bb0ddac89f36dcb48ee3f14c737e6e80f (diff) | |
download | main-a42c754c31761767cd1ca6dcfe416671409f5435.tar.gz main-a42c754c31761767cd1ca6dcfe416671409f5435.tar.bz2 main-a42c754c31761767cd1ca6dcfe416671409f5435.zip |
Fix
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); |