Skip to content

Commit

Permalink
MAGETWO-38844: Contribution of Ogres Sprint 31
Browse files Browse the repository at this point in the history
- fixed installation issue (determined php version requirements)
  • Loading branch information
Ivan Gavryshko committed Jun 17, 2015
1 parent 50f1b18 commit d3cbe9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup/src/Magento/Setup/Model/ComposerInformation.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public function getRequiredExtensions()
private function isMagentoRoot()
{
$rootPackage = $this->composer->getPackage();
return ('magento/magento2ce' == $rootPackage->getName() || 'magento/magento2ee' == $rootPackage->getName());

return preg_match('/magento\/magento2.e/', $rootPackage->getName());
}
}

0 comments on commit d3cbe9f

Please sign in to comment.