![]() |
Can you load a different tpl depending on http https
I have recently purchased a security certificate from Comodo. You can load a different version depending on http or https connection. The problem is that my server uses cpanel and I only have one set of files that are called depending on http or https.
I was wondering if there was a way to code the smarty template to include a different .tpl depending on http, or https. |
I think you can just put any templates you want displayed in https in the https directory, and vice versa.
|
^ That works if you have a seperate directory for http and for https, which is not recommended :)
Just link to the https version, it won't error using https images on an http page. |
Thank you very much Jon. That was a big help. And a lot easier than what I was trying to do.
|
All times are GMT -8. The time now is 10:51 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.