Index: openacs-4/packages/wp-slim/www/attach.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/wp-slim/www/attach.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/wp-slim/www/attach.tcl 18 Sep 2002 12:07:02 -0000 1.6 +++ openacs-4/packages/wp-slim/www/attach.tcl 17 May 2003 12:50:50 -0000 1.7 @@ -19,7 +19,7 @@ set creation_ip [ad_conn peeraddr] set tmp_filename [ns_queryget attachment.tmpfile] -set mime_type [ns_guesstype $attachment] +set mime_type [cr_filename_to_mime_type -create $attachment] set tmp_size [file size $tmp_filename] # strip off the C:\directories... crud and just get the file name