diff --git a/trunk/uploader.pl b/trunk/uploader.pl index c5a4319..885ad9b 100644 --- a/trunk/uploader.pl +++ b/trunk/uploader.pl @@ -53,7 +53,7 @@ if($userid) #save uploaded file into temppath $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> ) { print TEMPFILE;