]> source.dussan.org Git - nextcloud-server.git/commitdiff
use variable instead of relative path to file
authorBernhard Posselt <nukeawhale@gmail.com>
Wed, 24 Apr 2013 12:17:52 +0000 (14:17 +0200)
committerBernhard Posselt <nukeawhale@gmail.com>
Wed, 24 Apr 2013 14:12:23 +0000 (16:12 +0200)
lib/util.php

index 258f40e6bca95cc81bcf85a530eee0ecfe9bbc1e..55dc62a2b138f0633d0f40697fa544fd94772d33 100755 (executable)
@@ -810,7 +810,7 @@ class OC_Util {
 
                if(is_null($theme)) {
                        
-                       if(is_dir(__DIR__ . '/../themes/default')) {
+                       if(is_dir(OC::$SERVERROOT . '/themes/default')) {
                                $theme = 'default';
                        }