Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: instal_installation.fonct.php,v 1.2 2004-10-15 18:28:44 jpm Exp $
|
22 |
// CVS : $Id: instal_installation.fonct.php,v 1.3 2004-10-19 16:47:06 jpm Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Bibliothèque des fonctions de l'application Installateur de Papyrus.
|
24 |
* Bibliothèque des fonctions de l'application Installateur de Papyrus.
|
25 |
*
|
25 |
*
|
26 |
* Ce sous-paquetage contient les fonctions de l'application Installateur de Papyrus. Cette application gère
|
26 |
* Ce sous-paquetage contient les fonctions de l'application Installateur de Papyrus. Cette application gère
|
27 |
* l'installation de Papyrus (base de données).
|
27 |
* l'installation de Papyrus (base de données).
|
Line 31... |
Line 31... |
31 |
//Auteur original :
|
31 |
//Auteur original :
|
32 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
32 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
33 |
//Autres auteurs :
|
33 |
//Autres auteurs :
|
34 |
*@author aucun
|
34 |
*@author aucun
|
35 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@copyright Tela-Botanica 2000-2004
|
36 |
*@version $Revision: 1.2 $ $Date: 2004-10-15 18:28:44 $
|
36 |
*@version $Revision: 1.3 $ $Date: 2004-10-19 16:47:06 $
|
37 |
*/
|
37 |
*/
|
Line 38... |
Line 38... |
38 |
|
38 |
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// | LISTE de FONCTIONS |
|
40 |
// | LISTE de FONCTIONS |
|
Line 65... |
Line 65... |
65 |
* ou le fichier install_defaut.inc.php de cette application.
|
65 |
* ou le fichier install_defaut.inc.php de cette application.
|
66 |
* Auteurs : Hendrik MANS, David DELON, Patrick PAUL, Jean-Pascal MILCENT
|
66 |
* Auteurs : Hendrik MANS, David DELON, Patrick PAUL, Jean-Pascal MILCENT
|
67 |
*
|
67 |
*
|
68 |
* @return string l'url courante.
|
68 |
* @return string l'url courante.
|
69 |
*/
|
69 |
*/
|
70 |
function testerConfig($texte, $test, $texte_erreur = '', $stop_erreur = 1, $erreur) {
|
70 |
function testerConfig(&$sortie, $texte, $test, $texte_erreur = '', $stop_erreur = 1, $erreur) {
|
71 |
if ($erreur == 2) {
|
71 |
if ($erreur == 2) {
|
72 |
return 2;
|
72 |
return 2;
|
73 |
}
|
73 |
}
|
74 |
global $sortie;
|
- |
|
75 |
$sortie .= $texte.' ';
|
74 |
$sortie .= $texte.' ';
|
76 |
if ($test) {
|
75 |
if ($test) {
|
77 |
$sortie .= '<span class="ok">OK</span><br />'."\n";
|
76 |
$sortie .= '<span class="ok">OK</span><br />'."\n";
|
78 |
return 0;
|
77 |
return 0;
|
79 |
} else {
|
78 |
} else {
|
Line 320... |
Line 319... |
320 |
return $content;
|
319 |
return $content;
|
321 |
}
|
320 |
}
|
322 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
321 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
323 |
*
|
322 |
*
|
324 |
* $Log: not supported by cvs2svn $
|
323 |
* $Log: not supported by cvs2svn $
|
- |
|
324 |
* Revision 1.2 2004/10/15 18:28:44 jpm
|
- |
|
325 |
* Ajout de fonction utilisée pour l'installation de Papyrus.
|
- |
|
326 |
*
|
325 |
* Revision 1.1 2004/06/16 14:34:12 jpm
|
327 |
* Revision 1.1 2004/06/16 14:34:12 jpm
|
326 |
* Changement de nom de Génésia en Papyrus.
|
328 |
* Changement de nom de Génésia en Papyrus.
|
327 |
* Changement de l'arborescence.
|
329 |
* Changement de l'arborescence.
|
328 |
*
|
330 |
*
|
329 |
* +--Fin du code ----------------------------------------------------------------------------------------+
|
331 |
* +--Fin du code ----------------------------------------------------------------------------------------+
|