Skip to content

Commit

Permalink
OXDEV-3275 Fix LICENSE bug
Browse files Browse the repository at this point in the history
  • Loading branch information
a-afsharfarnia committed Mar 19, 2020
1 parent 5c0bd6e commit 2efd877
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Facts.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,20 @@ public function getCommunityEditionSourcePath()
return $communityEditionSourcePath;
}

/**
* @return string
*/
public function getCommunityEditionRootPath()
{
$communityEditionRootPath = $this->getShopRootPath();

if ($this->isProjectEshopInstallation()) {
$communityEditionRootPath = Path::join($this->getVendorPath(), self::COMPOSER_VENDOR_OXID_ESALES, self::COMPOSER_PACKAGE_OXIDESHOP_CE);
}

return $communityEditionRootPath;
}

/**
* @return string
*/
Expand Down

0 comments on commit 2efd877

Please sign in to comment.