Jump to content

Variable de session pour l'id de la langue

Recommended Posts

Pour la version 1.4.x de prestashop de préférence et pour les autres aussi, cela peut toujours m'être utilise. Merci d'avance

J’aimerais connaitre la variable de session qui permet de récupérer l’id de la langue en front office. Cordialement, merlin

Share this post

Link to post
Share on other sites

Extrait de FrontController.php sur 1.4.1:

       /* attribute id_lang is often needed, so we create a constant for performance reasons */
       if (!defined('_USER_ID_LANG_'))
           define('_USER_ID_LANG_', (int)$cookie->id_lang);

Share this post

Link to post
Share on other sites

  • 2 years later...

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More