Skip to content

Commit fc69339

Browse files
authored
Merge pull request #181 from davidsf/add_getTemporaryStoragePath
Add function getTemporaryStoragePath to FileUpload.cfc
2 parents dd0dd48 + f3bd77f commit fc69339

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

models/FileUpload.cfc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,15 @@ component {
9999
return "/cbwire/preview-file/#variables.uuid#";
100100
}
101101

102+
/**
103+
* Returns the temporary file path
104+
*
105+
* @return string
106+
*/
107+
function getTemporaryStoragePath(){
108+
return variables.temporaryStoragePath;
109+
}
110+
102111
/**
103112
* Deletes the file in temporary storage and the metadata file.
104113
*

0 commit comments

Comments
 (0)