Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Espaces de nommage | |
Joomla\Site | |
Variables | |
$version = new JVersion | |
$config = new JConfig | |
switch($config->error_reporting) if(!defined('JDEBUG')) if(JDEBUG) if(property_exists($config, 'behind_loadbalancer') && $config->behind_loadbalancer==1) | else |
$config = new JConfig |
$version = new JVersion |
switch ( $config->error_reporting) if (!defined( 'JDEBUG')) if (JDEBUG) 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.