• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/io/path.php
  • Класс: BitrixMainIOPath
  • Вызов: Path::convertRelativeToAbsolute
static function convertRelativeToAbsolute($relativePath)
{
	if (!is_string($relativePath))
		throw new MainArgumentTypeException("relativePath", "string");
	if ($relativePath == "")
		throw new MainArgumentNullException("relativePath");

	return self::combine($_SERVER["DOCUMENT_ROOT"], $relativePath);
}