fixed upload path

git-svn-id: http://yolanda.mister-muffin.de/svn@64 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
josch 2007-10-12 15:50:05 +00:00
parent 8c0e59d753
commit eff8e1bcbb

View file

@ -53,7 +53,7 @@ if($userid)
#save uploaded file into temppath #save uploaded file into temppath
$upload_filehandle = $query->upload("file"); $upload_filehandle = $query->upload("file");
open(TEMPFILE, ">/var/www/perl/tmp/$id") or die "cannot open"; open(TEMPFILE, ">$gnutube_root/tmp/$id") or die "cannot open";
while ( <$upload_filehandle> ) while ( <$upload_filehandle> )
{ {
print TEMPFILE; print TEMPFILE;