WIN: fixing Fatal error: Call to a member function logicToPhysical() on a non-object in C:\jenkins2\workspace\server-stable5-windows\database\mssql\label\WINDOWS\lib\files\storage\mappedlocal.php on line 311
This commit is contained in:
parent
5ecebe211b
commit
e37047b2a0
1 changed files with 3 additions and 4 deletions
|
@ -19,10 +19,9 @@ class Home extends Local {
|
|||
|
||||
public function __construct($arguments) {
|
||||
$this->user = $arguments['user'];
|
||||
$this->datadir = $this->user->getHome();
|
||||
if (substr($this->datadir, -1) !== '/') {
|
||||
$this->datadir .= '/';
|
||||
}
|
||||
$datadir = $this->user->getHome();
|
||||
|
||||
parent::__construct(array('datadir' => $datadir));
|
||||
}
|
||||
|
||||
public function getId() {
|
||||
|
|
Loading…
Reference in a new issue