Skip to content

Commit

Permalink
- added dataDirectory output to occ only
Browse files Browse the repository at this point in the history
  • Loading branch information
d7oc committed Nov 9, 2022
1 parent 353925d commit 9713ce9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/private/legacy/util.php
Expand Up @@ -1032,11 +1032,14 @@ public static function checkDataDirectoryValidity($dataDirectory) {
}
if (!\file_exists($dataDirectory . '/.ocdata')) {
$errors[] = [
'error' => $l->t('Your Data directory is invalid'),
'error' => $l->t('Your Data directory is invalid'),
'hint' => $l->t('Please check that the data directory contains a file' .
' ".ocdata" in its root.')
];
}
if (\OC::$CLI) {
print "Value of Data directory was: \"" . $dataDirectory . "\"\n";
}
return $errors;
}

Expand Down

0 comments on commit 9713ce9

Please sign in to comment.