Skip to content

Commit d3cbe9f

Browse files
author
Ivan Gavryshko
committed
MAGETWO-38844: Contribution of Ogres Sprint 31
- fixed installation issue (determined php version requirements)
1 parent 50f1b18 commit d3cbe9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup/src/Magento/Setup/Model/ComposerInformation.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ public function getRequiredExtensions()
127127
private function isMagentoRoot()
128128
{
129129
$rootPackage = $this->composer->getPackage();
130-
return ('magento/magento2ce' == $rootPackage->getName() || 'magento/magento2ee' == $rootPackage->getName());
130+
131+
return preg_match('/magento\/magento2.e/', $rootPackage->getName());
131132
}
132133
}

0 commit comments

Comments
 (0)