6$oldClassName =
"Bitrix\\Main\\Page\\Frame";
7$newClassName =
"Bitrix\\Main\\Composite\\Engine";
8$newClassFile = $_SERVER[
"DOCUMENT_ROOT"].
"/bitrix/modules/main/lib/composite/engine.php";
10if (!class_exists($oldClassName,
false))
12 if (class_exists($newClassName,
false))
14 class_alias($newClassName, $oldClassName,
false);
16 else if (file_exists($newClassFile))
18 require_once($newClassFile);