apps/files_external/lib/Lib/Storage/SFTP.php 1 location
|
@@ 215-219 (lines=5) @@
|
| 212 |
|
private function hostKeysPath() { |
| 213 |
|
try { |
| 214 |
|
$storage_view = \OCP\Files::getStorage('files_external'); |
| 215 |
|
if ($storage_view) { |
| 216 |
|
return \OC::$server->getConfig()->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . |
| 217 |
|
$storage_view->getAbsolutePath('') . |
| 218 |
|
'ssh_hostKeys'; |
| 219 |
|
} |
| 220 |
|
} catch (\Exception $e) { |
| 221 |
|
} |
| 222 |
|
return false; |
lib/private/User/Database.php 1 location
|
@@ 409-411 (lines=3) @@
|
| 406 |
|
* @return string|false |
| 407 |
|
*/ |
| 408 |
|
public function getHome(string $uid) { |
| 409 |
|
if ($this->userExists($uid)) { |
| 410 |
|
return \OC::$server->getConfig()->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/' . $uid; |
| 411 |
|
} |
| 412 |
|
|
| 413 |
|
return false; |
| 414 |
|
} |