diff --git a/lib/storage/ondiskpathstoragemanager.inc.php b/lib/storage/ondiskpathstoragemanager.inc.php index cbf3144..35242f7 100644 --- a/lib/storage/ondiskpathstoragemanager.inc.php +++ b/lib/storage/ondiskpathstoragemanager.inc.php @@ -73,6 +73,15 @@ class KTOnDiskPathStorageManager extends KTStorageManager { $sStoragePath = sprintf("%s/%s", Document::_generateFolderPath($oDocument->getFolderID()), $oDocument->getFileName()); return $sStoragePath; } + + function temporaryFile(&$oDocument) { + $oConfig =& KTConfig::getSingleton(); + return sprintf("%s/%s", $oConfig->get('urls/documentRoot'), $this->getPath($oDocument)); + } + + function freeTemporaryFile($sPath) { + return; + } function download($oDocument) { //get the path to the document on the server