From 08cba850d34f1e3692ec2aa9ff051fdeabe47b7f Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 13 Oct 2009 10:42:01 +0300 Subject: Some more fixes --- App.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'App.php') diff --git a/App.php b/App.php index 442ca8c..89dda01 100644 --- a/App.php +++ b/App.php @@ -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(); } -- cgit v1.2.3