MantisBT: master e600f44e

Author Committer Branch Timestamp Parent
dregad dregad master 2026-03-06 12:28 master 251d4788
Affected Issues  0036915: core.php should not return HTTP 200 when aborting due to an error
Changeset

core: new fatal_error() function

Ensures consistent behavior when an error occurs during MantisBT core
initialization.

In addition to displaying an error message, we now also return a proper
HTTP 500 error code (or 1 if running from CLI).

Fixes 0036915

mod - core.php Diff File