| Line 20... |
Line 20... |
| 20 |
// | You should have received a copy of the GNU Lesser General Public |
|
20 |
// | You should have received a copy of the GNU Lesser General Public |
|
| 21 |
// | License along with this library; if not, write to the Free Software |
|
21 |
// | License along with this library; if not, write to the Free Software |
|
| 22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 23 |
// | |
|
23 |
// | |
|
| 24 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
// +------------------------------------------------------------------------------------------------------+
|
| 25 |
// CVS : $Id: papyrus.php,v 1.6 2004-10-22 17:24:53 jpm Exp $
|
25 |
// CVS : $Id: papyrus.php,v 1.7 2004-11-24 18:33:05 jpm Exp $
|
| 26 |
/**
|
26 |
/**
|
| 27 |
* Papyrus : programme principale appelant différent fichier à inclure dans un ordre précis.
|
27 |
* Papyrus : programme principale appelant différent fichier à inclure dans un ordre précis.
|
| 28 |
*
|
28 |
*
|
| 29 |
* La page contient l'appel aux fonctions de l'application de vérification de l'installation puis
|
29 |
* La page contient l'appel aux fonctions de l'application de vérification de l'installation puis
|
| 30 |
* l'appel du fichier réalisant l'initialisation. Enfin, l'appel du fichier réalisant le rendu et
|
30 |
* l'appel du fichier réalisant l'initialisation. Enfin, l'appel du fichier réalisant le rendu et
|
| Line 35... |
Line 35... |
| 35 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
35 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
| 36 |
//Autres auteurs :
|
36 |
//Autres auteurs :
|
| 37 |
*@author Alexandre GRANIER <alex@tela-botanica.org>
|
37 |
*@author Alexandre GRANIER <alex@tela-botanica.org>
|
| 38 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
38 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
| 39 |
*@copyright Tela-Botanica 2000-2004
|
39 |
*@copyright Tela-Botanica 2000-2004
|
| 40 |
*@version $Revision: 1.6 $ $Date: 2004-10-22 17:24:53 $
|
40 |
*@version $Revision: 1.7 $ $Date: 2004-11-24 18:33:05 $
|
| 41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
| 42 |
*/
|
42 |
*/
|
| Line 43... |
Line 43... |
| 43 |
|
43 |
|
| 44 |
// +------------------------------------------------------------------------------------------------------+
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
| 45 |
// | ENTÊTE du PROGRAMME |
|
45 |
// | ENTÊTE du PROGRAMME |
|
| 46 |
// +------------------------------------------------------------------------------------------------------+
|
46 |
// +------------------------------------------------------------------------------------------------------+
|
| 47 |
// Création des variables globale de Papyrus
|
47 |
// Création des variables globale de Papyrus
|
| - |
|
48 |
$GLOBALS['_GEN_commun'] = array();
|
| 48 |
$GLOBALS['_GEN_commun'] = array();
|
49 |
$GLOBALS['_PAPYRUS_'] = array();
|
| Line 49... |
Line 50... |
| 49 |
$GLOBALS['chrono_flash'] = array();
|
50 |
$GLOBALS['chrono_flash'] = array();
|
| 50 |
|
51 |
|
| Line 161... |
Line 162... |
| 161 |
*/
|
162 |
*/
|
| 162 |
if (! empty($_GEN_commun['sortie'])) {
|
163 |
if (! empty($_GEN_commun['sortie'])) {
|
| 163 |
if (GEN_DEBOGAGE) {
|
164 |
if (GEN_DEBOGAGE) {
|
| 164 |
// En cas de chronométrage, nous insérons le tableau des résultats.
|
165 |
// En cas de chronométrage, nous insérons le tableau des résultats.
|
| 165 |
$debogage = BOG_afficherChrono(12);
|
166 |
$debogage = BOG_afficherChrono(12);
|
| 166 |
$_GEN_commun['sortie'] = str_replace('<!-- CHRONOMETRAGE -->', $debogage, $_GEN_commun['sortie']);
|
167 |
$_GEN_commun['sortie'] = str_replace('<!-- '.$_GEN_commun['balise_prefixe'].'CHRONOMETRAGE -->', $debogage, $_GEN_commun['sortie']);
|
| 167 |
// Gestion des erreurs et du débogage
|
168 |
// Gestion des erreurs et du débogage
|
| 168 |
$_GEN_commun['debogage_info'] .= $_GEN_commun['debogage_erreur']->retournerErreurs();
|
169 |
$_GEN_commun['debogage_info'] .= $_GEN_commun['debogage_erreur']->retournerErreurs();
|
| 169 |
$_GEN_commun['sortie'] = str_replace('<!-- DEBOGAGE -->', $_GEN_commun['debogage_info'], $_GEN_commun['sortie']);
|
170 |
$_GEN_commun['sortie'] = str_replace('<!-- '.$_GEN_commun['balise_prefixe'].'DEBOGAGE -->', $_GEN_commun['debogage_info'], $_GEN_commun['sortie']);
|
| 170 |
}
|
171 |
}
|
| 171 |
include_once GEN_CHEMIN_PAP.'pap_envoi.inc.php';
|
172 |
include_once GEN_CHEMIN_PAP.'pap_envoi.inc.php';
|
| 172 |
}
|
173 |
}
|
| Line 173... |
Line 174... |
| 173 |
|
174 |
|
| 174 |
// Fin du programme Papyrus.
|
175 |
// Fin du programme Papyrus.
|
| Line 175... |
Line 176... |
| 175 |
exit(0);
|
176 |
exit(0);
|
| 176 |
|
177 |
|
| - |
|
178 |
|
| - |
|
179 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
| - |
|
180 |
* $Log: not supported by cvs2svn $
|
| 177 |
|
181 |
* Revision 1.6 2004/10/22 17:24:53 jpm
|
| 178 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
182 |
* Amélioration de l'inclusion des fichiers et des tests.
|
| 179 |
* $Log: not supported by cvs2svn $
|
183 |
*
|
| 180 |
* Revision 1.5 2004/09/28 14:57:53 jpm
|
184 |
* Revision 1.5 2004/09/28 14:57:53 jpm
|
| 181 |
* Création d'une balise propre au débogage.
|
185 |
* Création d'une balise propre au débogage.
|