mirror of
https://github.com/nextcloud/server.git
synced 2024-07-25 13:54:59 +02:00
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_dir(__DIR__ . '/../themes/default')) {
|
||||
if(is_dir(OC::$SERVERROOT . '/themes/default')) {
|
||||
$theme = 'default';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user