1 |
<?php |
2 |
/** |
3 |
* Ce fichier permet le parametrage de la connexion a labase de donnees, |
4 |
* chaque entree du tableau correspond a une base differente. Attention |
5 |
* l'index du tableau conn represente l'identifiant du dossier dans lequel |
6 |
* seront stockes les fichiers propres a cette base dans l'application |
7 |
* |
8 |
* @package openmairie_exemple |
9 |
* @version SVN : $Id: database.inc.php 288 2010-12-02 13:52:25Z fmichon $ |
10 |
*/ |
11 |
|
12 |
// MySQL |
13 |
/* |
14 |
$conn[1] = array( |
15 |
"Openmairie foncier MySQL", |
16 |
"mysql", |
17 |
"", |
18 |
"root", |
19 |
"", |
20 |
"", |
21 |
"localhost", |
22 |
"", |
23 |
"", |
24 |
"openfoncier", |
25 |
"AAAA-MM-JJ", |
26 |
"", |
27 |
"" |
28 |
); |
29 |
*/ |
30 |
$conn[1] = array( |
31 |
"Openmairie foncier base 2 ", |
32 |
"pgsql", |
33 |
"pgsql", |
34 |
"postgres", |
35 |
"postgres", |
36 |
"tcp", |
37 |
"localhost", |
38 |
"5432", |
39 |
"", |
40 |
"openfoncier2", |
41 |
"AAAA-MM-JJ", |
42 |
"public", |
43 |
"" |
44 |
); |
45 |
|
46 |
// PostGreSQL |
47 |
$conn[2] = array( |
48 |
"Openmairie foncier base 0", |
49 |
"pgsql", |
50 |
"pgsql", |
51 |
"postgres", |
52 |
"postgres", |
53 |
"tcp", |
54 |
"localhost", |
55 |
"5432", |
56 |
"", |
57 |
"openfoncier", |
58 |
"AAAA-MM-JJ", |
59 |
"public", |
60 |
"" |
61 |
); |
62 |
|
63 |
?> |