Jump to content

Test Does current class (FrontController) requires SSL or not


Mr S

Recommended Posts

I need it for a canonical URLs module See attached (function get_path_info)

 

I need to know if the current class (FrontController) requires SSL or not.

 

I don't want to test if it was called over SSL or not I want to know for exmple if AuthControllerCore is set to use SSL or CategoryController is not

 

ex URLs

 

exmple.com/login (ssl yes AuthControllerCore)

exmple.com/order (ssl yes ParentOrderControllerCore)

exmple.com/1-myCategory (ssl no CategoryControllerCore)

 

http://www.prestashop.com/forums/index.php?/topic/161514-relcanonical-in-categories-how-to/page__view__findpost__p__896477

Edited by HA!*!*Y (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...