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_TP_Note/config/configuration_exemple.php

31 lines
698 B
PHP
Raw Normal View History

2020-11-13 08:08:06 +01: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_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_SCRIPTS', PATH_ASSETS.'scripts/');
//fichiers
define('PATH_MENU', PATH_VIEWS.'menu.php');