diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-02 16:31:02 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-02 16:31:02 +0200 |
commit | 48afc99d05c7bcd54231f340635f5102a03fbda4 (patch) | |
tree | bdad312490ee42b84dde71d5c49266f1b7fc792e /app.php | |
parent | 82ef2e6f4fadb6ed721a0de79ec4d2fcfdc3f426 (diff) | |
download | pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.tar.gz pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.tar.bz2 pluralconnect-48afc99d05c7bcd54231f340635f5102a03fbda4.zip |
Updated 7 files, added error.php and deleted 39 files (automated)
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 |