Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Espaces de nommage | |
Joomla\Administrator | |
Variables | |
$config = new JConfig() | |
const | JDEBUG ($config->error_reporting) $config->debug |
if(empty($config->log_deprecated)) | else |
$config = new JConfig() |
if (JDEBUG||$config->error_reporting==='maximum') if (property_exists( $config, 'behind_loadbalancer') &&$config->behind_loadbalancer==1) else |
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.
const JDEBUG( $config->error_reporting) $config->debug |
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().