Is there an easy way to change the URL that is sent as part of the user outbid email? I know it's using the $url variable within functions.inc.php However, I'd like to create a generic method to change the default site URL (My auction does not user index.php as the default. I was thinking that creating a new Define within config.inc.php and then using that $ENV would work but it doesn't.
ie: within config.inc.php
- Code: Select all
define('AUCTION_SITE_URL', 'http://www.yourdomain.com/auction.html');
Then within functions.inc.php:
- Code: Select all
$url = getenv('AUCTION_SITE_URL');
I could just hard code $url but wanted to keep if flexible.
Thanks,
J.