diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-24 16:17:52 +0400 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-24 18:12:23 +0400 |
commit | 72ea678c0e4b2b5d3f2e2c4c41372554d1f149e4 (patch) | |
tree | 307fd39bcf6d69a71eb557d826a96acb6c1e0ece /lib/util.php | |
parent | ff498243124195dae4d8af6b2d01180db0adb840 (diff) |
use variable instead of relative path to file
Diffstat (limited to 'lib/util.php')
-rwxr-xr-x | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } |