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:40 +00:00
parent ffbef21045
commit ec61c6268f

View File

@ -2234,7 +2234,7 @@ class infolog_ui
{ {
$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;
} }