/[openfoncier]/trunk/dyn/database.inc.php
ViewVC logotype

Contents of /trunk/dyn/database.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (show annotations)
Tue Jul 19 21:11:16 2011 UTC (13 years, 6 months ago) by fraynaud
File size: 1312 byte(s)
maj 3.0.0


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 test ",
32 "pgsql",
33 "pgsql",
34 "postgres",
35 "postgres",
36 "tcp",
37 "localhost",
38 "5432",
39 "",
40 "openfoncier1",
41 "AAAA-MM-JJ",
42 "public",
43 ""
44 );
45 // PostGreSQL
46 $conn[2] = array(
47 "Openmairie foncier PostGreSQL",
48 "pgsql",
49 "pgsql",
50 "postgres",
51 "postgres",
52 "tcp",
53 "localhost",
54 "5432",
55 "",
56 "openfoncier",
57 "AAAA-MM-JJ",
58 "public",
59 ""
60 );
61
62 $conn[3] = array(
63 "Openmairie foncier PostGreSQL schema SIG",
64 "pgsql",
65 "pgsql",
66 "postgres",
67 "postgres",
68 "tcp",
69 "localhost",
70 "5432",
71 "",
72 "sig",
73 "AAAA-MM-JJ",
74 "openfoncier",
75 ""
76 );
77
78 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26