setup_fatal_error_context

Description

Sets up the $context stuff for a fatal error

Syntax

void setup_fatal_error_context (string $error_message)



Parameter $error_message

Expected type: String
Description: The specific error message (only used if $context['error_message'] isn't already set)


Notes

  • Just sets up the $context stuff for fatal errors
  • Loads the appropriate sub-template (either 'fatal_error' or the appropriate template for the wireless protocol)
  • If we're using SSI.php, determines what to do based on $ssi_on_error_method (if it's true, the function just exits; if it's not true and is a function, it calls that function; otherwise it just loads the fatal_error sub-template)
Advertisement: