Allow documents in dirs other than user's preference dir by passing full path

This commit is contained in:
Nathan Gray 2011-05-05 21:41:00 +00:00
parent f6f9617261
commit 8b4728ad4a

View File

@ -2316,7 +2316,7 @@ class addressbook_ui extends addressbook_bo
{
$document = $this->prefs['default_document'];
}
else
elseif ($document[0] != '/')
{
$document = $this->prefs['document_dir'].'/'.$document;
}