diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-24 14:17:52 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-24 14:17:52 +0200 |
commit | a8075943c3f425f3871faca9953bed3503573ef5 (patch) | |
tree | 1c58992b7e76d7261380d0892b3628844d973a1c /lib/util.php | |
parent | b98b56e4a8c92d56969806f62390d57d5986855a (diff) | |
download | nextcloud-server-a8075943c3f425f3871faca9953bed3503573ef5.tar.gz nextcloud-server-a8075943c3f425f3871faca9953bed3503573ef5.zip |
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 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'; } |