lib/private/User/Database.php 1 location
|
@@ 330-332 (lines=3) @@
|
| 327 |
|
* @return string|false |
| 328 |
|
*/ |
| 329 |
|
public function getHome($uid) { |
| 330 |
|
if ($this->userExists($uid)) { |
| 331 |
|
return \OC::$server->getConfig()->getSystemValue("datadirectory", \OC::$SERVERROOT . "/data") . '/' . $uid; |
| 332 |
|
} |
| 333 |
|
|
| 334 |
|
return false; |
| 335 |
|
} |
apps/files_external/lib/Lib/Storage/SFTP.php 1 location
|
@@ 204-208 (lines=5) @@
|
| 201 |
|
private function hostKeysPath() { |
| 202 |
|
try { |
| 203 |
|
$storage_view = \OCP\Files::getStorage('files_external'); |
| 204 |
|
if ($storage_view) { |
| 205 |
|
return \OC::$server->getConfig()->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . |
| 206 |
|
$storage_view->getAbsolutePath('') . |
| 207 |
|
'ssh_hostKeys'; |
| 208 |
|
} |
| 209 |
|
} catch (\Exception $e) { |
| 210 |
|
} |
| 211 |
|
return false; |