divya108 Posted March 14, 2008 Posted March 14, 2008 Hi, 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). Cheers Quote
divya108 Posted March 14, 2008 Author Posted March 14, 2008 Sorry ... I found the solution at http://www.oscommerce.com/forums/index.php?showtopic=282544 Cheers Quote
sctsang Posted April 15, 2009 Posted April 15, 2009 (edited) Sorry ... I found the solution at http://www.oscommerce.com/forums/index.php?showtopic=282544 Cheers 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 April 15, 2009 by sctsang Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.