aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Util.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-01-19 19:49:41 -0600
committerMorris Jobke <hey@morrisjobke.de>2017-01-19 19:49:41 -0600
commita4ad8af6e3f0247db6f74dfcddc144e91f61fe84 (patch)
treeff957103206534edb0b29756b69f0dfaeadbf538 /apps/theming/lib/Util.php
parent48a3f2a8a2d6217c9938c3719fb752633de7c082 (diff)
downloadnextcloud-server-a4ad8af6e3f0247db6f74dfcddc144e91f61fe84.tar.gz
nextcloud-server-a4ad8af6e3f0247db6f74dfcddc144e91f61fe84.zip
Add proper default value for datadir
* better safe than sorry * fixes #3091 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/theming/lib/Util.php')
-rw-r--r--apps/theming/lib/Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Util.php b/apps/theming/lib/Util.php
index 9fea56838ad..5c9ccb3baa6 100644
--- a/apps/theming/lib/Util.php
+++ b/apps/theming/lib/Util.php
@@ -128,7 +128,7 @@ class Util {
} catch (AppPathNotFoundException $e) {}
if($this->config->getAppValue('theming', 'logoMime', '') !== '' && $this->rootFolder->nodeExists('/themedinstancelogo')) {
- return $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data/') . '/themedinstancelogo';
+ return $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/themedinstancelogo';
}
return \OC::$SERVERROOT . '/core/img/logo.svg';
}