forked from extern/egroupware
Allow documents in dirs other than user's preference dir by passing full path
This commit is contained in:
parent
f6f9617261
commit
8b4728ad4a
@ -2316,7 +2316,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
{
|
{
|
||||||
$document = $this->prefs['default_document'];
|
$document = $this->prefs['default_document'];
|
||||||
}
|
}
|
||||||
else
|
elseif ($document[0] != '/')
|
||||||
{
|
{
|
||||||
$document = $this->prefs['document_dir'].'/'.$document;
|
$document = $this->prefs['document_dir'].'/'.$document;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user