Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / _config / config_template.php @ ff47f4e6

Historique | Voir | Annoter | Télécharger (2,42 ko)

1
<?php
2
/************************************************************************************
3
 *
4
 *  Projet AbulEdu Mur de Classe  - Licence: GNU/Affero GPL v3 ou +
5
 *
6
 *  (c) 2020 Frédéric Adamczak <fred@fadamczak.fr>
7
 *
8
 *   This file is part of AbulEdu Mur de Classe.
9
 *
10
 *   AbulEdu Mur de Classe is free software: you can redistribute it and/or modify
11
 *   it under the terms of the GNU Affero General Public License as published by
12
 *   the Free Software Foundation, either version 3 of the License, or
13
 *   (at your option) any later version.
14
 *
15
 *   AbulEdu Mur de Classe is distributed in the hope that it will be useful,
16
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 *   GNU Affero General Public License for more details.
19
 *
20
 *   You should have received a copy of the GNU General Public License
21
 *   along with ClicAlbum. If not, see <https://www.gnu.org/licenses/>.
22
 *
23
 ************************************************************************************/
24

    
25
// --------------------------- //
26
//       ERRORS DISPLAY        //
27
// --------------------------- //
28

    
29
//!\\ A enlever lors du déploiement
30
error_reporting(E_ERROR | E_PARSE);
31
ini_set('display_errors', true);
32

    
33

    
34
// --------------------------- //
35
//          SESSIONS           //
36
// --------------------------- //
37

    
38
ini_set('session.cookie_lifetime', false);
39
session_start();
40

    
41

    
42
// --------------------------- //
43
//         CONSTANTS           //
44
// --------------------------- //
45

    
46
// Paths
47
define("PATH_REQUIRE", substr($_SERVER['SCRIPT_FILENAME'], 0, -9)); // Pour fonctions d'inclusion php
48
define("PATH", substr($_SERVER['PHP_SELF'], 0, -9)); // Pour images, fichiers etc (html)
49

    
50
// Website informations
51
define("WEBSITE_TITLE", "Mur de classe");
52
define("WEBSITE_NAME", "Mur de classe");
53
define("WEBSITE_URL", "https://murdeclasse.abuledu.net");
54
define("WEBSITE_DESCRIPTION", "Mur collaboratif");
55
define("WEBSITE_KEYWORDS", "");
56
define("WEBSITE_LANGUAGE", "");
57
define("WEBSITE_AUTHOR", "");
58
define("WEBSITE_AUTHOR_MAIL", "");
59

    
60

    
61
// DataBase informations
62
define("DATABASE_HOST", "{{dbhost}}");
63
define("DATABASE_NAME", "{{dbname}}");
64
define("DATABASE_USER", "{{dbusername}}");
65
define("DATABASE_PASSWORD", "{{dbpassword}}");
66

    
67
// Mot de passe administrateur
68
define ("SUPER_ADMIN","{{supassword}}");
69

    
70
// Autre constantes
71
define ("DEBUG_MODE", "dev");
Redmine Appliance - Powered by TurnKey Linux