From: Bernhard Posselt Date: Wed, 24 Apr 2013 12:17:52 +0000 (+0200) Subject: use variable instead of relative path to file X-Git-Tag: v5.0.6~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=72ea678c0e4b2b5d3f2e2c4c41372554d1f149e4;p=nextcloud-server.git use variable instead of relative path to file --- diff --git a/lib/util.php b/lib/util.php index 258f40e6bca..55dc62a2b13 100755 --- a/lib/util.php +++ b/lib/util.php @@ -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'; }