Use correct temp dir for zip files
authorJamie Cameron <jcameron@webmin.com>
Sat, 18 Aug 2007 05:11:36 +0000 (05:11 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sat, 18 Aug 2007 05:11:36 +0000 (05:11 +0000)
file/show.cgi

index b2acc11..1c86b48 100755 (executable)
@@ -38,8 +38,8 @@ else {
        }
 
 # Dump the file
-$temp = &transname();
 &switch_acl_uid();
+$temp = &transname();
 $p = &unmake_chroot($p);
 if (!&can_access($p)) {
        # ACL rules prevent access to file