Evelita Posted November 14, 2017 Share Posted November 14, 2017 Hello, I've enabled ssl on my host and for Prestashop in BO (also enabled SSL on all pages in Prestashop BO), but I'm still getting mixed content error for my page. I've check that $base_dir is returning http:// not https:// in one module Why is that and how to change it? I've checked, the urls in the module are not hardcoded... Link to comment Share on other sites More sharing options...
bellini13 Posted November 14, 2017 Share Posted November 14, 2017 $base_dir does not return https by design. $base_dir_ssl should be used instead, or even better do not use either of them and instead use the Link class to create a proper URL to the resource. Link to comment Share on other sites More sharing options...
Evelita Posted November 14, 2017 Author Share Posted November 14, 2017 Thank You! Your answer helped me out! 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