aboutsummaryrefslogtreecommitdiffstats
path: root/App.php
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mekanisti.fi>2009-10-13 10:42:01 +0300
committerFilipp Lepalaan <filipp@mekanisti.fi>2009-10-13 10:42:01 +0300
commit08cba850d34f1e3692ec2aa9ff051fdeabe47b7f (patch)
treebfc77312d1071d2785359e3a8a6067c377668319 /App.php
parentb9d2b8467dd4046512b86e0f63feefb6b06c2789 (diff)
downloadmain-08cba850d34f1e3692ec2aa9ff051fdeabe47b7f.tar.gz
main-08cba850d34f1e3692ec2aa9ff051fdeabe47b7f.tar.bz2
main-08cba850d34f1e3692ec2aa9ff051fdeabe47b7f.zip
Some more fixes
Diffstat (limited to 'App.php')
-rw-r--r--App.php6
1 files changed, 5 insertions, 1 deletions
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();
}