diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-03 14:10:08 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-03 14:10:08 +0200 |
commit | cc2a438199b02c78e5b2e2b71de8e56f6617eae9 (patch) | |
tree | 7ddbeba11a3c16ada13663e7b3bba9bef0f96ca6 /app.php | |
parent | 48afc99d05c7bcd54231f340635f5102a03fbda4 (diff) | |
download | pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.gz pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.bz2 pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.zip |
Updated 15 files (automated)
Diffstat (limited to 'app.php')
-rw-r--r-- | app.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,8 +2,10 @@ ob_start(); -require_once $_SERVER['DOCUMENT_ROOT'] . "/error.php"; -set_error_handler("ch_error"); +if (!str_starts_with($_SERVER['REQUEST_URI'], "/api")) { + require_once $_SERVER['DOCUMENT_ROOT'] . "/error.php"; + set_error_handler("ch_error"); +} $start = microtime(true); $GLOBALS["ColdHazeStart"] = microtime(true); |