Old array syntax in requirement checker (could be run in PHP prior to 5.4) (#201)

This commit is contained in:
MaximAL 2019-03-24 16:32:05 +03:00 committed by Alexander Makarov
parent 87ef329035
commit cb46def3bf

View File

@ -16,10 +16,10 @@
if (!isset($frameworkPath)) {
$searchPaths = [
$searchPaths = array(
dirname(__FILE__) . '/vendor/yiisoft/yii2',
dirname(__FILE__) . '/../vendor/yiisoft/yii2',
];
);
foreach($searchPaths as $path) {
if (is_dir($path)) {
$frameworkPath = $path;