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 Jan 31, 2023
1 parent 7753fcd commit 3d1c7b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/private/legacy/util.php
Expand Up @@ -1030,11 +1030,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'" . PHP_EOL;
}
return $errors;
}

Expand Down

0 comments on commit 3d1c7b4

Please sign in to comment.