Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Espaces de nommage | |
Joomla\Site | |
Variables | |
$config = new JConfig() | |
switch($config->error_reporting) if(!defined('JDEBUG')) 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.