We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a0c2af commit 5f9ca91Copy full SHA for 5f9ca91
index.php
@@ -93,10 +93,11 @@ private function getSitesFromPaths(array $paths): array
93
94
$isShopware = strpos(strtolower($site), 'shopware') !== false;
95
$isPimcore = strpos(strtolower($site), 'pimcore') !== false;
96
+ $isNamedPimcore = strpos(strtolower($path), 'pimcore') !== false;
97
98
$result[$trimmedPath][$site] = [
99
'url' => 'http://' . $site . '.' . $this->tld . self::VALET_PORT,
- 'hasAdmin' => $isShopware || $isPimcore
100
+ 'hasAdmin' => $isShopware || $isPimcore || $isNamedPimcore
101
// 'githubLink' => parse_ini_file("$path/$site/.git/config")['url'] ?? null
102
];
103
}
0 commit comments