Rev 66 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php/*vim: set expandtab tabstop=4 shiftwidth=4: */// +------------------------------------------------------------------------------------------------------+// | PHP version 4.1 |// +------------------------------------------------------------------------------------------------------+// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |// +------------------------------------------------------------------------------------------------------+// | This library is free software; you can redistribute it and/or |// | modify it under the terms of the GNU Lesser General Public |// | License as published by the Free Software Foundation; either |// | version 2.1 of the License, or (at your option) any later version. |// | |// | This library is distributed in the hope that it will be useful, |// | but WITHOUT ANY WARRANTY; without even the implied warranty of |// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |// | Lesser General Public License for more details. |// | |// | You should have received a copy of the GNU Lesser General Public |// | License along with this library; if not, write to the Free Software |// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |// +------------------------------------------------------------------------------------------------------+// CVS : $Id: installateur.php,v 1.1 2004-06-16 14:33:13 jpm Exp $/*** Application Installateur de Papyrus.** Application permettant de gérer l'installation et les erreurs liés à l'abscence de base de données,* d'extenssin PHP...**@package Installateur//Auteur original :*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>//Autres auteurs :*@author Aucun*@copyright Tela-Botanica 2000-2004*@version $Revision: 1.1 $ $Date: 2004-06-16 14:33:13 $// +------------------------------------------------------------------------------------------------------+**/// +------------------------------------------------------------------------------------------------------+// | ENTÊTE du PROGRAMME |// +------------------------------------------------------------------------------------------------------+/*Mettre ici les inclusions de fichiers*/// +------------------------------------------------------------------------------------------------------+// | CORPS du PROGRAMME |// +------------------------------------------------------------------------------------------------------+// A retravailler complétement!!!if ($_GEN_commun['erreur_site_introuvable']) {projectForm($_GEN_commun['message_erreur_bd']);exit;}else {if ($_GEN_commun['erreur_config'] || $_GEN_commun['erreur_bd']) {installForm($_GEN_commun['message_erreur_bd']);exit;}else {exit ('<html>'."\n".' <head>'."\n".' <title>Error</title>'."\n".' <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">'."\n".' </head>'."\n".' <body>'."\n".' <br /><br />'."\n".' <p align="center"><b>'.$_GEN_commun['message_erreur_bd'].'</b></p>'."\n".' </body>'."\n".'</html>');}}// +------------------------------------------------------------------------------------------------------+// | PIED du PROGRAMME |// +------------------------------------------------------------------------------------------------------+/*Partie non obligatoire*//* +--Fin du code ----------------------------------------------------------------------------------------+** $Log: not supported by cvs2svn $* Revision 1.6 2004/04/22 08:25:48 jpm* Transformation de $GS_GLOBAL en $_GEN_commun.** Revision 1.5 2004/04/08 13:21:05 jpm* Le code pour l'installation uniquement.** Revision 1.4 2004/04/08 12:25:16 jpm* Suppression de tous le code réalisant les vérifications. L'application Installateur ne fera qu'installer Génésia et non vérifier son bon fonctionnement.** Revision 1.3 2004/04/02 16:37:51 jpm* Modification des commentaires.** Revision 1.2 2004/03/31 16:57:16 jpm* Ajout de la gestion des erreur de base de données, de la connexion à celle-ci et des extenssions php disponibles.** Revision 1.1 2004/03/29 11:00:12 jpm* Transfert d'un morceau de code gérant les erreurs et l'installation mais qui a actuellement aucun effet sur Génésia.*** +-- Fin du code ----------------------------------------------------------------------------------------+*/?>