• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/ui/imageeditor/proxy.php
  • Класс: BitrixMainUIImageEditorProxy
  • Вызов: Proxy::getUserAllowedHosts
protected function getUserAllowedHosts()
{
	static $hosts = null;

	if ($hosts === null)
	{
		$hosts = Option::get('main', 'imageeditor_proxy_white_list', []);
		if (is_string($hosts))
		{
			$hosts = unserialize($hosts, ['allowed_classes' => false]);
		}
	}

	return $hosts;
}