Encore un thème : " Undefined variable"

Fermé
marc1969 Messages postés 1 Date d'inscription vendredi 18 mai 2012 Statut Membre Dernière intervention 18 mai 2012 - 18 mai 2012 à 20:17
schancel Messages postés 296 Date d'inscription dimanche 20 mars 2011 Statut Membre Dernière intervention 7 décembre 2018 - 20 mai 2012 à 17:47
Bonjour,

voici le script de mon fichier cfg.php:

"
21.// SITE TEMPLATE
22.$defaultTemplate = 'default'; //CASE SENSITIVE. NAME OF TEMPLATE FOLDER
23.
24.// SETUP FOLDERS
25.$templateFolder = "templates/".$template."/"; //STARTING FROM SITE ROOT
26.$preIncludeFolder = 'preIncludes/'; //STARTING FROM SITE ROOT
27.$includeFolder = "include/"; //STARTING FROM SITE ROOT
28?>"

en retours j'ai le message:
Notice: Undefined variable: template in d:\www\..\cfg.php on line 25
Qu'elles en est la raison ? Merci

A voir également:

1 réponse

schancel Messages postés 296 Date d'inscription dimanche 20 mars 2011 Statut Membre Dernière intervention 7 décembre 2018 49
20 mai 2012 à 17:47
euh c'est si visible
la variable $template n'existe pas.
0