fanie Posted August 21, 2018 Share Posted August 21, 2018 Hi, I'm actually trying to transform a theme from Ps1.6 to Ps1.7 and had this question: In Ps 1.6 templates, I can have my urls like http://mywebsite.com or https://mywebsite.com with the smarty variables "base_dir" and "base_dir_ssl". Now in Ps1.7, I have all url variables in the smarty var "urls". Are the variables modified (http or https) if ssl is enabled or not in my BO ? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 21, 2018 Share Posted August 21, 2018 You need to $urls.base_url only. Variable value will be HTTP OR HTTPS according to the back office HTTPS enable settings. 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