API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
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 /*') | |
foreach ( $root_paths as $i=> $rpath) $relative_path = str_repeat('../', count($root_paths) - $i) . implode('/', array_slice($trust_paths, $i)) |
$root_paths = explode('/', XOOPS_ROOT_PATH) |
$safe = !ini_get('register_globals') |
$trust_paths = explode('/', XOOPS_TRUST_PATH) |
$uri_contami = XOOPS_URL . '/index.php?xoopsConfig%5Bnocommon%5D=1' |
$uri_isocom = XOOPS_URL . '/index.php?cid=' . urlencode(',password /*') |
if (substr( @XOOPS_VERSION, 6, 3)< 2.4 &&strtolower(get_class( $db)) !=='protectormysqldatabase') else |
if(version_compare(PHP_VERSION, '5.4.0', '<')) | ( | version_compare(PHP_VERSION, '5.4.0', '<') | ) |