Jump to content

base dir with lang id


Recommended Posts

Hi,

my Prestashop address: http://127.0.0.1/prestashop1551/en/music-ipods/2-ipod-shuffle.html (url with language)

 

When i try get my store base dir in template with {$base_dir_ssl} i get address without language, why?

How get full root dir with language (http://127.0.0.1/prestashop1551/en/)?

 

Product url with lang i can get with getProductLink(), but i need only root address. 

 

Thanks

Link to comment
Share on other sites

the answer is: mixed content filtering :) 

 

{$base_dir_ssl} generates url with SSL

{$content_dir} if you're connected with secured protocol - it will generate secured url, if you connected with simple http - it will generate also simple http

Link to comment
Share on other sites

  • 10 months later...
×
×
  • Create New...