Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier administrator/includes/framework.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $config = new JConfig()
 
const JDEBUG ($config->error_reporting) $config->debug
 
if(empty($config->log_deprecated)) else
 

Documentation des variables

◆ $config

$config = new JConfig()

◆ else

if (JDEBUG||$config->error_reporting==='maximum') if (property_exists( $config, 'behind_loadbalancer') &&$config->behind_loadbalancer==1) else
Valeur initiale :
{
set_error_handler(['Joomla\CMS\Exception\ExceptionHandler', 'handleUserDeprecatedErrors'], E_USER_DEPRECATED)

Correctly set the allowing of IP Overrides if behind a trusted proxy/load balancer.

We need to do this as high up the stack as we can, as the default in is to $allowIpOverride = true which is the wrong default for a generic site NOT behind a trusted proxy/load balancer.

◆ JDEBUG

const JDEBUG( $config->error_reporting) $config->debug
Exemples:
C:/laragon/www/_install/Joomla_422-Stable-Full_Package_French_v1/libraries/src/HTML/HTMLHelper.php.

Référencé par InstallationApplication\__construct(), Webauthn\__construct(), CMSApplication\__construct(), BaseController\__construct(), Tag\ajaxfield(), LanguageHelper\branchSingular(), BaseController\checkEditId(), HtmlView\display(), ApiApplication\doExecute(), AdministratorApplication\doExecute(), SiteApplication\doExecute(), Access\getAssetRules(), TinymcebuilderField\getLayoutData(), ConsoleApplication\getLongVersion(), CliRenderer\getTrace(), ExceptionHandler\handleUserDeprecatedErrors(), BaseController\holdEditId(), Joomla\Plugin\Editors\TinyMCE\PluginTraits\includeRelativeFiles(), HTMLHelper\includeRelativeFiles(), PlgSystemDebug\onAfterDisconnect(), PlgSystemDebug\onAfterRespond(), Cache\onAfterRoute(), PlgSystemDebug\onAjaxDebug(), PlgSystemDebug\onBeforeCompileHead(), PlgSystemDebug\onBeforeRespond(), Joomla\Plugin\Editors\TinyMCE\PluginTraits\onDisplay(), Access\preloadComponents(), Access\preloadPermissions(), Query\processString(), ServiceProviderInterface\register(), Database\register(), BaseController\releaseEditId(), XmlRenderer\render(), JsonRenderer\render(), HtmlRenderer\render(), JsonapiRenderer\render(), OpensearchDocument\render(), CMSApplication\render(), StylesRenderer\renderElement(), ScriptsRenderer\renderElement(), ModuleHelper\renderModule(), ModuleHelper\renderRawModule(), Joomla\Plugin\Editors\TinyMCE\PluginTraits\resolveFileUrl(), et IndexerController\sendResponse().