From a8075943c3f425f3871faca9953bed3503573ef5 Mon Sep 17 00:00:00 2001
From: Bernhard Posselt <nukeawhale@gmail.com>
Date: Wed, 24 Apr 2013 14:17:52 +0200
Subject: [PATCH] use  variable instead of relative path to file

---
 lib/util.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/util.php b/lib/util.php
index 987a578277..810593358a 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';
 			}
 
-- 
GitLab