diff options
Diffstat (limited to 'app.php')
-rw-r--r-- | app.php | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,10 @@ <?php +ob_start(); + +require_once $_SERVER['DOCUMENT_ROOT'] . "/error.php"; +set_error_handler("ch_error"); + $start = microtime(true); $GLOBALS["ColdHazeStart"] = microtime(true); $GLOBALS["ColdHazePerformance"] = []; @@ -104,4 +109,8 @@ if (in_array($toplevel, ["editor", "icons", "species", "uploads"])) { } } } -}
\ No newline at end of file +} + +$output = ob_get_contents(); +ob_end_clean(); +echo($output);
\ No newline at end of file |