XFileSharing Pro - error : download a file from a visitor

Powerfull XFileSharing version

Moderator: admin

Posts: 177
Joined: Jul 23, 2009 2:27 am

error : download a file from a visitor

#1 Postby adiga » Nov 05, 2009 3:42 pm

When download a file from a visitor to show his link to the following form

http://site.com/gi-bin/dl.cgi/5nmlysame ... m/file/zip

Must direct download link without the emergence of the previous

Please fix

User avatar
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab

#2 Postby PilgrimX182 » Nov 06, 2009 9:01 am

In index.cgi find

Code: Select all

$ses->redirect($file->{direct_link}) if $no_checks && $ses->getUser->{usr_direct_downloads};

and add below

Code: Select all

$ses->redirect($file->{direct_link}) unless $c->{direct_links};

Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests