Skip to content

Commit f3bd77f

Browse files
committed
Add function getTemporaryStoragePath to FileUpload.cfc
1 parent dd0dd48 commit f3bd77f

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)