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_TP3/config/configuration-exemple.php

45 lines
1.1 KiB
PHP
Raw Normal View History

2020-10-16 08:16:09 +02:00
<?php
/* Module de PHP
* Paramètres de configuration du site
*
* Copyright 2017, Eric Dufour
* http://techfacile.fr
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
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 = 'Floruan Charlaix';
//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_IMAGES', PATH_ASSETS.'images/');
define('PATH_SCRIPTS',PATH_ASSETS.'scripts/');
//define("PATH_GALERIE",'galerie/');
//define('PATH_LOG','log/');
//fichiers
//define('LOG_BDD','logbdd.txt');
define('PATH_LOGO', PATH_IMAGES.'logo.png');
define('PATH_MENU', PATH_VIEWS.'menu.php');