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