ryxeo-glpi-git / scripts / config / config.php @ 4ce9f9ca
Historique | Voir | Annoter | Télécharger (602 octets)
1 | 4ce9f9ca | Eric Seigne | <?php
|
---|---|---|---|
2 | require_once 'DB.php'; |
||
3 | |||
4 | $mailto = "supportteam@ryxeo.com"; |
||
5 | $database = "abuledu_prod"; |
||
6 | $dbuser = "AENuser"; |
||
7 | $dbpass = "vvS5P38YJh"; |
||
8 | $dbhost = "192.168.100.1"; |
||
9 | $dbh = DB::connect("mysql://$dbuser:$dbpass@$dbhost/$database"); |
||
10 | if (DB::isError($dbh)) { |
||
11 | die("error ".$dbh->toString()); |
||
12 | } |
||
13 | |||
14 | $dbglpi = DB::connect("mysql://glpiu:F2D6nxPRA6HC@$dbhost/glpi"); |
||
15 | if (DB::isError($dbglpi)) { |
||
16 | die("error ".$dbglpi->toString()); |
||
17 | } |
||
18 | |||
19 | |||
20 | putenv("LC_MESSAGES=C"); |
||
21 | putenv("LC_ALL=C"); |
||
22 | putenv("LANG=C"); |
||
23 | putenv("LANGUAGE=C"); |
||
24 | ?> |