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é
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier includes/framework.php

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
 

Documentation des variables

◆ $config

$config = new JConfig

◆ $version

$version = new JVersion

◆ else

switch ( $config->error_reporting) if (!defined( 'JDEBUG')) if (JDEBUG) if (property_exists( $config, 'behind_loadbalancer') &&$config->behind_loadbalancer==1) else
Valeur initiale :
{
IpHelper::setAllowIpOverrides(false)

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.