tyler06_34 Posted November 24, 2020 Posted November 24, 2020 Bonjour, J'ai dupliqué un site prestashop 1.6, modifier la table shop_url pour pointer vers ma nouvelle url. Tout fonctionne et s'affiche correctement. Sauf les appels à la variable Smarty $base_dir qui pointe vers l'ancienne url. J'ai supprimer cache Smarty / forcer la recompilation mais rien n'y fait. Comment puis je forcer la reprise en compte de cette constante ? S'agit il de mon vidage de cache qui ne se fait pas complétement ? Merci pour votre aide. Sébastien. Share this post Link to post Share on other sites More sharing options...
ndiaga Posted November 30, 2020 Posted November 30, 2020 Bonjour, Pour la version 1.6 la variable {$base_dir} est une variable global . Il faut faire quelque part dans un module : $url='votresite.com' ; Configuration::updateValue('BASE_DIR', $url); Share this post Link to post Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now