]> source.dussan.org Git - nextcloud-server.git/commit
Shortcut to avoid file system setup when generating the logo URL 24001/head
authorMorris Jobke <hey@morrisjobke.de>
Wed, 4 Nov 2020 08:59:32 +0000 (09:59 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 9 Nov 2020 13:13:31 +0000 (13:13 +0000)
commitcc777911c204118924602e4edc3b7b11fe176983
tree53b33ef94878739a83b41d6213edadb21b7884c1
parent3459db047227d55acef9081e8a0fd1d5005a9ad8
Shortcut to avoid file system setup when generating the logo URL

If an SVG is requested and the app config value for logoMime is set then the logo is there. Otherwise we need to check it and maybe also generate a PNG from the SVG (that's done in getImage() which needs to be called then).

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/theming/lib/ThemingDefaults.php
apps/theming/tests/ThemingDefaultsTest.php