if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die(); use \Bitrix\Main\Localization\Loc; Loc::loadMessages(__FILE__); $post = array(); foreach ($_POST as $key => $value) { if (!is_array($value)) { $post[htmlspecialcharsbx($key)] = htmlspecialcharsbx($value); } else { foreach ($value as $k1 => $v1) { if (is_array($v1)) { foreach ($v1 as $k2 => $v2) { if (!is_array($v2)) $post[htmlspecialcharsbx($key)."[".htmlspecialcharsbx($k1)."][".htmlspecialcharsbx($k2)."]"] = htmlspecialcharsbx($v2); } } else { $post[htmlspecialcharsbx($key)."[".htmlspecialcharsbx($k1)."]"] = htmlspecialcharsbx($v1); } } } } ?>
Fatal error: Uncaught Error: Class "Loc" not found in D:\ktt\ttepla.com\public_html\bitrix\modules\sale\handlers\paysystem\yandexinvoice\template\template.php:35
Stack trace:
#0 {main}
thrown in D:\ktt\ttepla.com\public_html\bitrix\modules\sale\handlers\paysystem\yandexinvoice\template\template.php on line 35