|
@@ 325-327 (lines=3) @@
|
| 322 |
|
$customFavicon = null; |
| 323 |
|
} |
| 324 |
|
|
| 325 |
|
if ($image === 'favicon.ico' && ($customFavicon !== null || $this->imageManager->shouldReplaceIcons())) { |
| 326 |
|
return $this->urlGenerator->linkToRoute('theming.Icon.getFavicon', ['app' => $app]) . '?v=' . $cacheBusterValue; |
| 327 |
|
} |
| 328 |
|
if ($image === 'favicon-touch.png' && ($customFavicon !== null || $this->imageManager->shouldReplaceIcons())) { |
| 329 |
|
return $this->urlGenerator->linkToRoute('theming.Icon.getTouchIcon', ['app' => $app]) . '?v=' . $cacheBusterValue; |
| 330 |
|
} |
|
@@ 328-330 (lines=3) @@
|
| 325 |
|
if ($image === 'favicon.ico' && ($customFavicon !== null || $this->imageManager->shouldReplaceIcons())) { |
| 326 |
|
return $this->urlGenerator->linkToRoute('theming.Icon.getFavicon', ['app' => $app]) . '?v=' . $cacheBusterValue; |
| 327 |
|
} |
| 328 |
|
if ($image === 'favicon-touch.png' && ($customFavicon !== null || $this->imageManager->shouldReplaceIcons())) { |
| 329 |
|
return $this->urlGenerator->linkToRoute('theming.Icon.getTouchIcon', ['app' => $app]) . '?v=' . $cacheBusterValue; |
| 330 |
|
} |
| 331 |
|
if ($image === 'manifest.json') { |
| 332 |
|
try { |
| 333 |
|
$appPath = $this->appManager->getAppPath($app); |