API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Variables | |
if(!class_exists('ProtectorRegistry')) | $registry = ProtectorRegistry::getInstance() |
$mydirname = $registry->getEntry('mydirname') | |
$mydirpath = $registry->getEntry('mydirpath') | |
$language = $registry->getEntry('language') | |
$mytrustdirname = basename(__DIR__) | |
$mytrustdirpath = __DIR__ | |
if(file_exists("$mydirpath/language/$language/main.php")) elseif(file_exists("$mytrustdirpath/language/$language/main.php")) | else |
$page = preg_replace('/[^a-zA-Z0-9_-]/', '', @$_GET['page']) | |
$language = $registry->getEntry('language') |
$mydirname = $registry->getEntry('mydirname') |
$mydirpath = $registry->getEntry('mydirpath') |
$mytrustdirname = basename(__DIR__) |
$mytrustdirpath = __DIR__ |
$page = preg_replace('/[^a-zA-Z0-9_-]/', '', @$_GET['page']) |
if (!class_exists( 'ProtectorRegistry')) $registry = ProtectorRegistry::getInstance() |
if (file_exists("$mytrustdirpath/main/$page.php")) else |