Baby Moon Posted February 21, 2012 Share Posted February 21, 2012 HI, all, Some functions with the following code piece for detect whether SSL set, ($ssl AND Configuration::get('PS_SSL_ENABLED')) ? <true>:<false> but my question is if PS_SSL_ENABLED is set in the back end, why still pass $ssl to the function for test the condition? if PS_SSL_ENABLED is set and $ssl is false, how to get to the right flow? my website is running under full HTTPS, but Stores can't get store location from google. because the program use HTTP check the location, and the website redirect to HTTPS, then returned 302 Temperay movement error, I think SSL status should tested from configuration, not pass the status as a parameter. If so, the whole program is writen for a SSL website. Link to comment Share on other sites More sharing options...
El Patron Posted March 13, 2012 Share Posted March 13, 2012 HI, all, Some functions with the following code piece for detect whether SSL set, ($ssl AND Configuration::get('PS_SSL_ENABLED')) ? <true>:<false> but my question is if PS_SSL_ENABLED is set in the back end, why still pass $ssl to the function for test the condition? if PS_SSL_ENABLED is set and $ssl is false, how to get to the right flow? my website is running under full HTTPS, but Stores can't get store location from google. because the program use HTTP check the location, and the website redirect to HTTPS, then returned 302 Temperay movement error, I think SSL status should tested from configuration, not pass the status as a parameter. If so, the whole program is writen for a SSL website. which version of Prestashop? Link to comment Share on other sites More sharing options...
Recommended Posts