Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts



I am very happy with this contribution ... easy to install and very flexible. However I have a 2 domains pointing to the site and the antioffsitelinking function is preventing thumbs displaying at one of the domains. Is it possible to turn it off or configure it to allow more than one domain? The domains in question are http://www.fruitandveggreetingcards.com (working) and http://www.veggiegreetingcards.com (not working).



Link to comment
Share on other sites

  • 1 year later...
Sorry ... I found the solution at http://www.oscommerce.com/forums/index.php?showtopic=282544




Instead of setting $PHPTHUMB_CONFIG['nooffsitelink_enabled'] to false, better add the domain names in the array as follows:


$PHPTHUMB_CONFIG['nooffsitelink_valid_domains'] = array(@$_SERVER['HTTP_HOST'],'www.domain1.com','www.domain2.com');

Edited by sctsang
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...