AL
Size: a a a
AL
AL
VD
VD
АХ
АХ
AL
АХ
АХ
VD
АХ
АХ
АХ
if( ! function_exists('evolutionCMS')) {
/**
* @return DocumentParser
*/
function evolutionCMS()
{
if( ! defined('MODX_CLASS')) {
if( ! class_exists('DocumentParser')) {
throw new RuntimeException('MODX_CLASS not defined and DocumentParser class not exists');
}
define('MODX_CLASS', 'DocumentParser');
}
global $modx;
if ($modx === null) {
$obj = new ReflectionClass(MODX_CLASS);
$modx = $obj->newInstanceWithoutConstructor()->getInstance();
}
return $modx;
}
}
VD
if( ! function_exists('evolutionCMS')) {
/**
* @return DocumentParser
*/
function evolutionCMS()
{
if( ! defined('MODX_CLASS')) {
if( ! class_exists('DocumentParser')) {
throw new RuntimeException('MODX_CLASS not defined and DocumentParser class not exists');
}
define('MODX_CLASS', 'DocumentParser');
}
global $modx;
if ($modx === null) {
$obj = new ReflectionClass(MODX_CLASS);
$modx = $obj->newInstanceWithoutConstructor()->getInstance();
}
return $modx;
}
}
VD
АХ
АХ
AL
AL
P