Add -tmp_filename parameter to content::item::new and content::revision::new to handle file uploads at a low level with the cr tcl api. You …
Show more
Add -tmp_filename parameter to content::item::new andcontent::revision::new to handle file uploads at a low level with thecr tcl api. You still need to figure out the mime type and cotent type(image,etc.) before calling content::item::new. A convenience wrappershould be written if you need that feature. (that would replacecr_import_content, it think.)
Show less