Jump to content

comment ecrire un simple include avec la version 1.4.4.1 (smarty 3)


Recommended Posts

voila c'est pas compliqué, mais je n'arrive pas a trouver cette simple information.

Avant pour un include de fichier, il suffisait d'ecrire cela dans un fichier tpl :

 

{php}

include($_SERVER['DOCUMENT_ROOT'].'/prestashop/mon_fichier.php');

{/php}

Avec la version 1.4.4.1 et smarty 3, cela ne marche plus. Alors il faut ecrire quoi ?

 

merci

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