New Zenner
- Join Date:
- May 2008
- Posts:
- 50
- Plugin Contributions:
- 0
userCurrency - updated for 1.3.5
I noticed in includes\init_includes\init_currencies.php that one of the first lines is:
// If no currency is set, use appropriate default
if (!isset($_SESSION['currency']) && !isset($_GET['currency']) ) $_SESSION['currency'] = DEFAULT_CURRENCY;
So, wouldn't that set a default currency, thus not allowing the userCurrency module to set it based on IP since it only does this if no currency is set?
Or does userCurrency somehow get run first? If so, how does that work? Ultimately I'm trying to figure out who is setting the currency before the module runs...
Thanks,
TJ