XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence du fichier advisory.php

Variables

 $db = XoopsDatabaseFactory::getDatabaseConnection()
 
 $root_paths = explode('/', XOOPS_ROOT_PATH)
 
 $trust_paths = explode('/', XOOPS_TRUST_PATH)
 
foreach($root_paths as $i=> $rpath) $relative_path = str_repeat('../', count($root_paths) - $i) . implode('/', array_slice($trust_paths, $i))
 
 $safe = !ini_get('register_globals')
 
if($safe) else
 
 if (version_compare(PHP_VERSION, '5.4.0', '<'))
 
 $uri_contami = XOOPS_URL . '/index.php?xoopsConfig%5Bnocommon%5D=1'
 
 $uri_isocom = XOOPS_URL . '/index.php?cid=' . urlencode(',password /*')
 

Documentation des variables

◆ $db

◆ $relative_path

foreach ( $root_paths as $i=> $rpath) $relative_path = str_repeat('../', count($root_paths) - $i) . implode('/', array_slice($trust_paths, $i))

◆ $root_paths

$root_paths = explode('/', XOOPS_ROOT_PATH)

◆ $safe

$safe = !ini_get('register_globals')

◆ $trust_paths

$trust_paths = explode('/', XOOPS_TRUST_PATH)

◆ $uri_contami

$uri_contami = XOOPS_URL . '/index.php?xoopsConfig%5Bnocommon%5D=1'

◆ $uri_isocom

$uri_isocom = XOOPS_URL . '/index.php?cid=' . urlencode(',password /*')

◆ else

if (substr( @XOOPS_VERSION, 6, 3)< 2.4 &&strtolower(get_class( $db)) !=='protectormysqldatabase') else
Valeur initiale :
{
echo "on &nbsp; <span style='color:red;font-weight:bold;'>" . _AM_ADV_NOTSECURE . "</span></dt>\n"

◆ if

if(version_compare(PHP_VERSION, '5.4.0', '<'))
_AM_ADV_NOTSECURE
const _AM_ADV_NOTSECURE
Definition: admin.php:35