concrete/src/Package/Package.php
public function getPackagePath()
    {
        $packageHandle = $this->getPackageHandle();
        $result = $this->DIR_PACKAGES . '/' . $packageHandle;
        if (!is_dir($result)) {
            $result = $this->DIR_PACKAGES_CORE . '/' . $packageHandle;
        }

        return $result;
    }
public function getPackagePath()
    {
        $packageHandle = $this->getPackageHandle();
        $result = $this->DIR_PACKAGES . '/' . $packageHandle;
        if (!is_dir($result)) {
            $result = $this->DIR_PACKAGES_CORE . '/' . $packageHandle;
        }

        return $result;
    }
public function getPackagePath ( ) { $ packageHandle = $ this -> getPackageHandle ( ) ; $ result = $ this -> DIR_PACKAGES . '/' . $ packageHandle ; if ( ! is_dir ( $ result ) ) { $ result = $ this -> DIR_PACKAGES_CORE . '/' . $ packageHandle ; } return $ result ; }
Get the absolute path to the package.

@return string
Get the absolute path to the package .