From ec61c6268fd2c9e61af032ca7eb9bcfdac417137 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 5 May 2011 21:41:40 +0000 Subject: [PATCH] Allow documents in dirs other than user's preference dir by passing full path --- infolog/inc/class.infolog_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index efd32cb9d7..e57db62aec 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -2234,7 +2234,7 @@ class infolog_ui { $document = $this->prefs['default_document']; } - else + elseif($document[0] !== '/') { $document = $this->prefs['document_dir'].'/'.$document; }