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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (hide annotations)
Thu Feb 10 20:46:18 2011 UTC (13 years, 11 months ago) by fraynaud
File size: 1083 byte(s)
version initiale


1 fraynaud 3 <?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     $conn[1] = array(
14     "Openmairie foncier MySQL",
15     "mysql",
16     "",
17     "root",
18     "",
19     "",
20     "localhost",
21     "",
22     "",
23     "openfoncier",
24     "AAAA-MM-JJ",
25     "",
26     ""
27     );
28    
29     // PostGreSQL
30     $conn[2] = array(
31     "Openmairie foncier PostGreSQL",
32     "pgsql",
33     "pgsql",
34     "postgres",
35     "postgres",
36     "tcp",
37     "localhost",
38     "5432",
39     "",
40     "openfoncier",
41     "AAAA-MM-JJ",
42     "public",
43     ""
44     );
45    
46     $conn[3] = array(
47     "Openmairie foncier PostGreSQL schema SIG",
48     "pgsql",
49     "pgsql",
50     "postgres",
51     "postgres",
52     "tcp",
53     "localhost",
54     "5432",
55     "",
56     "sig",
57     "AAAA-MM-JJ",
58     "openfoncier",
59     ""
60     );
61    
62     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26