diff options
author | Filipp Lepalaan <filipp@mekanisti.fi> | 2009-10-13 10:42:01 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mekanisti.fi> | 2009-10-13 10:42:01 +0300 |
commit | 08cba850d34f1e3692ec2aa9ff051fdeabe47b7f (patch) | |
tree | bfc77312d1071d2785359e3a8a6067c377668319 /App.php | |
parent | b9d2b8467dd4046512b86e0f63feefb6b06c2789 (diff) | |
download | main-08cba850d34f1e3692ec2aa9ff051fdeabe47b7f.tar.gz main-08cba850d34f1e3692ec2aa9ff051fdeabe47b7f.tar.bz2 main-08cba850d34f1e3692ec2aa9ff051fdeabe47b7f.zip |
Some more fixes
Diffstat (limited to 'App.php')
-rw-r--r-- | App.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -25,6 +25,8 @@ class App $controller = "user"; } + ob_start(); + // Dispatch correct controller $c = new $controller; @@ -45,7 +47,9 @@ class App return $c->$action($c); } - exit(App::error("{$controller}_{$action}: no such method")); + App::error("{$controller}_{$action}: no such method"); + + ob_end_flush(); } |