summaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.php')
-rwxr-xr-xlib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 987a5782779..810593358a5 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -806,7 +806,7 @@ class OC_Util {
if(is_null($theme)) {
- if(is_dir(__DIR__ . '/../themes/default')) {
+ if(is_dir(OC::$SERVERROOT . '/themes/default')) {
$theme = 'default';
}