1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
PHP_TP4/config/configuration-exemple.php

34 lines
826 B
PHP
Raw Permalink Normal View History

2020-10-16 10:23:24 +02:00
<?php
const DEBUG = true; // production : false; dev : true
// Accès base de données
const BD_HOST = '';
const BD_DBNAME = '';
const BD_USER = '';
const BD_PWD = '';
// Langue du site
const LANG ='FR-fr';
// Paramètres du site : nom de l'auteur ou des auteurs
const AUTEUR = '';
//dossiers racines du site
define('PATH_CONTROLLERS','./controllers/c_');
define('PATH_ENTITY','./entities/');
define('PATH_ASSETS','./assets/');
define('PATH_LIB','./lib/');
define('PATH_MODELS','./models/m_');
define('PATH_VIEWS','./views/v_');
define('PATH_TEXTES','./languages/');
//sous dossiers
define('PATH_CSS', PATH_ASSETS.'css/');
define('PATH_IMAGES', PATH_ASSETS.'images/');
define('PATH_SCRIPTS', PATH_ASSETS.'scripts/');
//fichiers
define('PATH_LOGO', PATH_IMAGES.'logo.png');
define('PATH_MENU', PATH_VIEWS.'menu.php');