Line 30... |
Line 30... |
30 |
// | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
30 |
// | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
31 |
// | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
31 |
// | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
32 |
// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
32 |
// | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
33 |
// | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
33 |
// | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
34 |
// +------------------------------------------------------------------------------------------------------+
|
34 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// CVS : $Id: instal_base_de_donnees.inc.php,v 1.34 2007-06-26 12:08:18 jp_milcent Exp $
|
35 |
// CVS : $Id: instal_base_de_donnees.inc.php,v 1.35 2007-08-28 14:37:11 jp_milcent Exp $
|
36 |
/**
|
36 |
/**
|
37 |
* Page de création de la base de données de Papyrus.
|
37 |
* Page de création de la base de données de Papyrus.
|
38 |
*
|
38 |
*
|
39 |
* Page permettant de créer la base de données de Papyrus.
|
39 |
* Page permettant de créer la base de données de Papyrus.
|
40 |
*
|
40 |
*
|
Line 45... |
Line 45... |
45 |
*@author David DELON
|
45 |
*@author David DELON
|
46 |
*@author Patrick PAUL
|
46 |
*@author Patrick PAUL
|
47 |
*@author Eric FELDSTEIN
|
47 |
*@author Eric FELDSTEIN
|
48 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
48 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
49 |
*@copyright Tela-Botanica 2000-2004
|
49 |
*@copyright Tela-Botanica 2000-2004
|
50 |
*@version $Revision: 1.34 $ $Date: 2007-06-26 12:08:18 $
|
50 |
*@version $Revision: 1.35 $ $Date: 2007-08-28 14:37:11 $
|
51 |
// +------------------------------------------------------------------------------------------------------+
|
51 |
// +------------------------------------------------------------------------------------------------------+
|
52 |
**/
|
52 |
**/
|
Line 53... |
Line 53... |
53 |
|
53 |
|
54 |
// +------------------------------------------------------------------------------------------------------+
|
54 |
// +------------------------------------------------------------------------------------------------------+
|
Line 195... |
Line 195... |
195 |
$requete_auth = 'INSERT INTO gen_site_auth_bdd VALUES (1, "mysql://'.
|
195 |
$requete_auth = 'INSERT INTO gen_site_auth_bdd VALUES (1, "mysql://'.
|
196 |
$bdd['PAP_BDD_UTILISATEUR'].':'.$bdd['PAP_BDD_MOT_DE_PASSE'].'@'.$bdd['PAP_BDD_SERVEUR'].'/'.$bdd['PAP_BDD_NOM'].'", "gen_annuaire", "ga_mail", '.
|
196 |
$bdd['PAP_BDD_UTILISATEUR'].':'.$bdd['PAP_BDD_MOT_DE_PASSE'].'@'.$bdd['PAP_BDD_SERVEUR'].'/'.$bdd['PAP_BDD_NOM'].'", "gen_annuaire", "ga_mail", '.
|
197 |
'"ga_mot_de_passe", "md5","chp_personne_prenom=ga_prenom chp_personne_nom=ga_nom");';
|
197 |
'"ga_mot_de_passe", "md5","chp_personne_prenom=ga_prenom chp_personne_nom=ga_nom");';
|
198 |
$erreur = testerConfig($sortie_verif, 'Insertion de l\'authentification...', @mysql_query($requete_auth, $dblink),
|
198 |
$erreur = testerConfig($sortie_verif, 'Insertion de l\'authentification...', @mysql_query($requete_auth, $dblink),
|
199 |
'Données déjà présente ?', 0, $erreur);
|
199 |
'Données déjà présente ?', 0, $erreur);
|
200 |
$url_inscription = preg_replace ('/papyrus\.php/', 'inscription', $pref['PAP_URL']);
|
200 |
$url_inscription = preg_replace ('/papyrus\.php/', 'page:inscription', $pref['PAP_URL']);
|
- |
|
201 |
$url_inscription_erreur = preg_replace ('/papyrus\.php/', 'page:inscription?action=mdp_oubli', $pref['PAP_URL']);
|
201 |
$requete_auth = 'INSERT INTO gen_site_auth_bdd VALUES (2, "mysql://'.
|
202 |
$requete_auth = 'INSERT INTO gen_site_auth_bdd VALUES (2, "mysql://'.
|
202 |
$bdd['PAP_BDD_UTILISATEUR'].':'.$bdd['PAP_BDD_MOT_DE_PASSE'].'@'.$bdd['PAP_BDD_SERVEUR'].'/'.$bdd['PAP_BDD_NOM'].'", "annuaire", "a_mail", '.
|
203 |
$bdd['PAP_BDD_UTILISATEUR'].':'.$bdd['PAP_BDD_MOT_DE_PASSE'].'@'.$bdd['PAP_BDD_SERVEUR'].'/'.$bdd['PAP_BDD_NOM'].'", "annuaire", "a_mail", '.
|
203 |
'"a_mot_de_passe", "md5","chp_personne_prenom=a_prenom chp_personne_nom=a_nom '.
|
204 |
'"a_mot_de_passe", "md5","chp_personne_prenom=a_prenom chp_personne_nom=a_nom '.
|
204 |
'url_inscription='.$url_inscription.' url_inscription_modif='.$url_inscription.'");';
|
205 |
'url_inscription='.$url_inscription.' url_inscription_modif='.$url_inscription.' url_erreur='.$url_inscription_erreur.'");';
|
Line 205... |
Line 206... |
205 |
|
206 |
|
206 |
$erreur = testerConfig($sortie_verif, 'Insertion de l\'authentification utilisateurs ...', @mysql_query($requete_auth, $dblink),
|
207 |
$erreur = testerConfig($sortie_verif, 'Insertion de l\'authentification utilisateurs ...', @mysql_query($requete_auth, $dblink),
|
Line 289... |
Line 290... |
289 |
|
290 |
|
290 |
|
291 |
|
291 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
292 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
293 |
*
|
- |
|
294 |
* $Log: not supported by cvs2svn $
|
- |
|
295 |
* Revision 1.34 2007-06-26 12:08:18 jp_milcent
|
292 |
*
|
296 |
* Correction de l'encodage et de la création du htaccess.
|
293 |
* $Log: not supported by cvs2svn $
|
297 |
*
|
294 |
* Revision 1.33 2007-06-25 12:15:07 alexandre_tb
|
298 |
* Revision 1.33 2007-06-25 12:15:07 alexandre_tb
|
295 |
* merge from narmer
|
299 |
* merge from narmer
|
296 |
*
|
300 |
*
|