concrete/src/Package/Package.php
public function getRelativePath()
    {
        $packageHandle = $this->getPackageHandle();
        if (is_dir($this->DIR_PACKAGES . '/' . $packageHandle)) {
            $result = $this->REL_DIR_PACKAGES . '/' . $packageHandle;
        } else {
            $result = $this->REL_DIR_PACKAGES_CORE . '/' . $packageHandle;
        }

        return $result;
    }
public function getRelativePath()
    {
        $packageHandle = $this->getPackageHandle();
        if (is_dir($this->DIR_PACKAGES . '/' . $packageHandle)) {
            $result = $this->REL_DIR_PACKAGES . '/' . $packageHandle;
        } else {
            $result = $this->REL_DIR_PACKAGES_CORE . '/' . $packageHandle;
        }

        return $result;
    }
public function getRelativePath ( ) { $ packageHandle = $ this -> getPackageHandle ( ) ; if ( is_dir ( $ this -> DIR_PACKAGES . '/' . $ packageHandle ) ) { $ result = $ this -> REL_DIR_PACKAGES . '/' . $ packageHandle ; } else { $ result = $ this -> REL_DIR_PACKAGES_CORE . '/' . $ packageHandle ; } return $ result ; }
Get the path to the package relative to the web root.

@return string
Get the path to the package relative to the web root .