Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 39 lines (30 sloc) 1.241 kb
a2f2baa Le Nouvel Ingénieur upload de la plateforme Ponts ParisTech Refresh comme base du projet Ref...
authored
1 <?php
2
3 /*
34d4964 Prise en compte des issues #4/5/6/7/8/9
Nico S authored
4 Plateforme web PPR - outil de crowdsourcing
a2f2baa Le Nouvel Ingénieur upload de la plateforme Ponts ParisTech Refresh comme base du projet Ref...
authored
5 Copyright(C) 2011 Nicolas SEICHEPINE
6
7 This file is part of PPR.
8
9 PPR is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Affero General Public License as
11 published by the Free Software Foundation, either version 3 of the
12 License, or (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Affero General Public License for more details.
18
19 You should have received a copy of the GNU Affero General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
21
34d4964 Prise en compte des issues #4/5/6/7/8/9
Nico S authored
22 Contact : nicolas.seichepine.org/?action=contact
a2f2baa Le Nouvel Ingénieur upload de la plateforme Ponts ParisTech Refresh comme base du projet Ref...
authored
23 */
24
8cee2e0 Le Nouvel Ingénieur finition de la creation du fichier config.php pour les parametres de la ...
authored
25 $link=@mysql_connect(DB_HOST,DB_USER,DB_PASSWORD);
a2f2baa Le Nouvel Ingénieur upload de la plateforme Ponts ParisTech Refresh comme base du projet Ref...
authored
26
27 if ($link)
28 {
8cee2e0 Le Nouvel Ingénieur finition de la creation du fichier config.php pour les parametres de la ...
authored
29 if (!(@mysql_select_db(DB_NAME, $link)))
a2f2baa Le Nouvel Ingénieur upload de la plateforme Ponts ParisTech Refresh comme base du projet Ref...
authored
30 {
31 echo('<div class="warning">Probl&egrave;me de connexion &agrave; la base, la navigation risque d\'&ecirc;tre perturb&eacute;e</div>');
32 }
33 }
34 else
35 {
36 echo('<div class="warning">Probl&egrave;me de connexion &agrave; la base, la navigation risque d\'&ecirc;tre perturb&eacute;e</div>');
37 }
38
39 ?>
Something went wrong with that request. Please try again.