summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-12-09 12:52:17 +0100
committerJulius Haertl <jus@bitgrid.net>2016-12-09 12:52:17 +0100
commit086a5eb9d00ee5901d331b9081f83317f7d78612 (patch)
treec72d0e4e7b2507aae8fe8733a47fc531ba0b4c8c /lib
parente3b2832ee192a9cc961342420efe6ec077638461 (diff)
downloadnextcloud-server-086a5eb9d00ee5901d331b9081f83317f7d78612.tar.gz
nextcloud-server-086a5eb9d00ee5901d331b9081f83317f7d78612.zip
Check if the theming app is loaded
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/URLGenerator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/URLGenerator.php b/lib/private/URLGenerator.php
index c6f1ebd4594..d954153ab88 100644
--- a/lib/private/URLGenerator.php
+++ b/lib/private/URLGenerator.php
@@ -158,7 +158,7 @@ class URLGenerator implements IURLGenerator {
// Check if the app is in the app folder
$path = '';
- $themingEnabled = $this->config->getSystemValue('installed', false) && \OCP\App::isEnabled('theming');
+ $themingEnabled = $this->config->getSystemValue('installed', false) && \OCP\App::isEnabled('theming') && \OC_App::isAppLoaded('theming');
if($themingEnabled && $image === "favicon.ico" && \OC::$server->getThemingDefaults()->shouldReplaceIcons()) {
$cacheBusterValue = $this->config->getAppValue('theming', 'cachebuster', '0');
if($app==="") { $app = "core"; }