Commit 4329ff54 authored by Frank Bergmann's avatar Frank Bergmann

- Removed Windows sepecific code

parent 57194bdb
......@@ -33,19 +33,8 @@ if {[string first $tmp_path $tmpfile] != 0} {
ad_script_abort
}
global tcl_platform
if {[string match $tcl_platform(platform) "windows"]} {
set winaoldir $::env(AOLDIR)
set unixaoldir [string map {\\ /} ${winaoldir}]
set tmpfile ${winaoldir}/${tmpfile}
}
if {![file exists $tmpfile]} { ad_return_complaint 1 "file '$tmpfile' doesn't exist" }
if {[file exists $tmpfile]} {
ns_returnfile 200 image/gif $tmpfile
file delete $tmpfile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment