Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-24 16:17:52 +0400
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-24 18:12:23 +0400
commit72ea678c0e4b2b5d3f2e2c4c41372554d1f149e4 (patch)
tree307fd39bcf6d69a71eb557d826a96acb6c1e0ece /lib/util.php
parentff498243124195dae4d8af6b2d01180db0adb840 (diff)
use variable instead of relative path to file
Diffstat (limited to 'lib/util.php')
-rwxr-xr-xlib/util.php2
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';
}