toplakd Posted January 29, 2019 Share Posted January 29, 2019 Override for frontcontroller. Nice. Link to comment Share on other sites More sharing options...
toplakd Posted January 30, 2019 Share Posted January 30, 2019 Have tested cloudflare a little, and problems are appearing with geolocation, as it happens manytimes that price is shown with tax, where it should not as ip comes from cloudflare. This does not happen if cloudflare is bypassed without caching. However, cloudflare supports geolocation and it adds HTTP header named “CF-IPCountry” to all requests. So if I add in template {$smarty.server.HTTP_CF_IPCOUNTRY} it writes out visitors country. Could be default country set from that HTTP header with some sort of code and rewriting frontcontroller? Thank you. Dejan 1 Link to comment Share on other sites More sharing options...
oliiix Posted October 15, 2020 Share Posted October 15, 2020 (edited) - Edited October 15, 2020 by oliiix Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now