• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/wizard_site.php
  • Класс: CWizard
  • Вызов: CWizard::__GetLicensePath
function __GetLicensePath()
{
	$path = false;

	if (is_file($_SERVER["DOCUMENT_ROOT"].$this->path."/license.php"))
		$path = $this->path."/license.php";

	if (is_file($_SERVER["DOCUMENT_ROOT"].$this->path."/license_".LANGUAGE_ID.".php"))
		$path = $this->path."/license_".LANGUAGE_ID.".php";

	return $path;
}