Bläddra i källkod

Properly theme folder icons that are accessed though imagePath (#15875)

Properly theme folder icons that are accessed though imagePath
tags/v17.0.0beta1
John Molakvoæ 5 år sedan
förälder
incheckning
2cb0b9e56e
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3
    0
      apps/theming/lib/ThemingDefaults.php

+ 3
- 0
apps/theming/lib/ThemingDefaults.php Visa fil

@@ -349,6 +349,9 @@ class ThemingDefaults extends \OC_Defaults {
} catch (AppPathNotFoundException $e) {}
return $this->urlGenerator->linkToRoute('theming.Theming.getManifest') . '?v=' . $cacheBusterValue;
}
if (strpos($image, 'filetypes/') === 0) {
return $this->urlGenerator->linkToRoute('theming.Icon.getThemedIcon', ['app' => $app, 'image' => $image]);
}
return false;
}


Laddar…
Avbryt
Spara