-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.php
executable file
·44 lines (39 loc) · 1.14 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
// Mode debug
define('CFG_DEBUG', FALSE);
// CLI / CGI ?
define('CFG_DISPLAY', ( 'cli' === PHP_SAPI ? 'cli' : 'cgi' ));
// Numéro et date de version
define('CFG_VERSION', '1.0.0');
define('CFG_VERSION_DATE', '17/05/2011');
// Identifiants de base de données
define('CFG_HOST', 'localhost');
define('CFG_USER', 'username');
define('CFG_PASS', 'password');
// Nom du fichier principal
define('SCRIPT_NAME', ( 'cli' === CFG_DISPLAY ? basename($argv[0]) : '' ));
// Plugins supportés
$known_plugin = array(
'contact-form-7' => array(
'label' => 'Contact Form 7',
'update' => array(
array(
'table' => 'contact_form_7',
'champ' => array(
array(
'cf7_unit_id',
'mail',
),
array(
'cf7_unit_id',
'mail_2',
),
array(
'cf7_unit_id',
'form',
),
),
),
),
),
);