use variable instead of relative path to file
This commit is contained in:
parent
b98b56e4a8
commit
a8075943c3
|
@ -806,7 +806,7 @@ class OC_Util {
|
||||||
|
|
||||||
if(is_null($theme)) {
|
if(is_null($theme)) {
|
||||||
|
|
||||||
if(is_dir(__DIR__ . '/../themes/default')) {
|
if(is_dir(OC::$SERVERROOT . '/themes/default')) {
|
||||||
$theme = 'default';
|
$theme = 'default';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue