forked from payutc/server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.inc.dist.php
80 lines (67 loc) · 2.58 KB
/
config.inc.dist.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
/**
* payutc
* Copyright (C) 2011 BuckUTT <[email protected]>
* Copyright (C) 2013 payutc <[email protected]>
*
* This file is part of payutc
*
* payutc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* payutc is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// Paramètres de BDD
$_CONFIG['sql_host'] = "localhost";
$_CONFIG['sql_db'] = "buckutt";
$_CONFIG['sql_user'] = "root";
$_CONFIG['sql_pass'] = "root";
// Chemin vers le serveur CAS (avec le / final)
$_CONFIG['cas_url'] = "";
// URL publique http(s) du serveur (avec le / final)
$_CONFIG['server_url'] = "http://localhost/buckutt/";
// Méthode de cache côté serveur pour les wsdl (mettre WSDL_CACHE_BOTH en prod)
$_CONFIG['wsdl_cache'] = WSDL_CACHE_NONE;
// Montant maximum à autoriser sur un compte (en cts)
$_CONFIG['credit_max'] = 10000;
// Montant minimum d'un rechargement
$_CONFIG['rechargement_min'] = 1000;
// Adresse du proxy
$_CONFIG['proxy_host'] = null;
$_CONFIG['proxy_port'] = null;
$_CONFIG['proxy_login'] = "";
$_CONFIG['proxy_password'] = "";
/**
* PAYLINE
* Ces paramètres sont pré-configurés sur un compte de test, aucune garantie
* n'est apporté quand au fait qu'il restera accessible dans la durée.
* Vous pouvez ouvrir un compte de test sur le site www.payline.com
*/
$_CONFIG['payline_contract_number'] = "1234567";
$_CONFIG['payline_merchant_id'] = '70038023549152' ; // Merchant ID
$_CONFIG['payline_access_key'] = 'fAPFZ5vkg0K734953kKG' ; // Certificate key
$_CONFIG['payline_production'] = false ; // production mode
// Clé d'API Google pour envoyer des notifications
$_CONFIG['google_api_key'] = "";
// Configuration de ginger (outil cotisant)
// En environnement de dev, utiliser https://github.com/simde-utc/faux-ginger
$_CONFIG['ginger_key'] = "";
$_CONFIG['ginger_url'] = "";
// Configuration de Slim, les plus importants sont les 3 premiers paramètres
$_CONFIG['slim_config'] = array(
'mode' => 'developement',
'debug' => true,
);
// Mode maintenance
$_CONFIG['maintenance'] = false;
// Configuration des logs
$_CONFIG['log_mode'] = 'DEV';
$_CONFIG['log_filename'] = __DIR__.'/logs/logs.log';