création de page avec environnement php [Réglé]
Myster Membre non connecté
Booster Missile
-
Booster Missile
- Voir le profil du membre Myster
- Inscrit le : 04/10/2010
- Groupes :
Reprise du message précédent
Bonsoir,Si tu es sous PHPBoost 4 voici le code exact de l'environnement :
Code PHP :
<?php /*This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ###################################################*/ define('PATH_TO_ROOT', '..'); //Début du chargement de l'environnement include_once('../kernel/init.php'); //Chargement d'un fichier css, ici le fichier css du module news define('ALTERNATIVE_CSS', 'design'); //Titre de la page, ici Accueil define('TITLE', 'Accueil'); //Chargement de l'environnement ( header ) require_once('../kernel/header.php'); //Chargement des fichiers de langue et autres global $LANG,$CONFIG; ?> Ici tu mets ce que tu veux. <?php include_once('../kernel/footer.php'); ?>
Bonne soirée
Shoot Membre non connecté
Booster Bazooka
-
Booster Bazooka
- Voir le profil du membre Shoot
- Inscrit le : 14/08/2012
- Groupes :
Merci et bonne journée
Édité par Shoot Le 10/12/2012 à 00h17
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie