use variable instead of relative path to file

This commit is contained in:
Bernhard Posselt 2013-04-24 14:17:52 +02:00
parent b98b56e4a8
commit a8075943c3
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}