Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier fatal.php

Espaces de nommage

 Joomla\Site
 

Variables

 $template = '{{statusCode_statusText}}'
 
if(file_exists(__DIR__ . '/fatal-error.html')) if (file_exists(__DIR__ . '/fatal-error.custom.php'))
 

Documentation des variables

◆ $template

$template = '{{statusCode_statusText}}'

◆ if

if (file_exists(__DIR__ . '/fatal-error.html')) if(file_exists(__DIR__ . '/fatal-error.custom.php'))

User supplied fatal error page.

Allow overriding Joomla supplied page to prevent changes being wiped on Joomla upgrade. We allow it to be a PHP file so that any post-processing, alerting etc can happen.