Bitrix Site Manager

CBitrixComponent::GetPath

string
GetPath();

The method returns the path to the component folder relative to the site root.

Example

$path = $this->GetPath();