4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: dbb on December 10, 2008, 12:18:03 AM

Title: How do I allow hotlinking
Post by: dbb on December 10, 2008, 12:18:03 AM
Hello,

I would like to allow hotlinking to my website, but I am not sure how to do it.  So that I can link straight to the download button link.  I searched on this forum, but couldn't find anything.  From what I read I have to do something with an .htaccess file?  If someone could please direct me in the right direction I would appreciate it.  Thank you.
Title: Re: How do I allow hotlinking
Post by: V@no on December 10, 2008, 01:28:27 AM
Hello and welcome to 4images forum.

This is a feature in 4images.
Find in includes/functions.php
function check_download_token($token) {


Insert below:

  return true;
Title: Re: How do I allow hotlinking
Post by: dbb on December 10, 2008, 05:50:46 AM
Works great.  Thanks a lot.  :)
Title: Re: How do I allow hotlinking
Post by: scottwest on May 28, 2015, 06:10:05 AM
Still works great... Thanks