Subversion Repositories Applications.papyrus

Rev

Rev 32 | Rev 58 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32 Rev 35
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.3 2004-07-06 17:27:23 jpm Exp $
25
// CVS : $Id: papyrus.php,v 1.4 2004-09-10 16:39:04 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.3 $ $Date: 2004-07-06 17:27:23 $
40
*@version           $Revision: 1.4 $ $Date: 2004-09-10 16:39:04 $
41
// +------------------------------------------------------------------------------------------------------+
41
// +------------------------------------------------------------------------------------------------------+
42
*/
42
*/
Line 43... Line 43...
43
 
43
 
44
// +------------------------------------------------------------------------------------------------------+
44
// +------------------------------------------------------------------------------------------------------+
45
// |                                            ENTÊTE du PROGRAMME                                       |
45
// |                                            ENTÊTE du PROGRAMME                                       |
-
 
46
// +------------------------------------------------------------------------------------------------------+
-
 
47
// Création de la variable globale de Papyrus
Line 46... Line 48...
46
// +------------------------------------------------------------------------------------------------------+
48
$GLOBALS['_GEN_commun'] = '';
47
 
49
 
Line 48... Line 50...
48
// Première mesure du chronométrage
50
// Première mesure du chronométrage
Line 140... Line 142...
140
* Il stocke la page en cache et la renvoi après compression s'il existe des données à renvoyer.
142
* Il stocke la page en cache et la renvoi après compression s'il existe des données à renvoyer.
141
*/
143
*/
142
if (! empty($_GEN_commun['sortie'])) {
144
if (! empty($_GEN_commun['sortie'])) {
143
    if (GEN_DEBOGAGE) {
145
    if (GEN_DEBOGAGE) {
144
        // En cas de chronométrage, nous insérons le tableau des résultats.
146
        // En cas de chronométrage, nous insérons le tableau des résultats.
145
        $chronometrage = BOG_afficherChrono(12);
147
        $debogage = BOG_afficherChrono(12);
-
 
148
        $debogage .= $_GEN_commun['debogage_info'];
146
        $_GEN_commun['sortie'] = str_replace('<!-- CHRONOMETRAGE -->', $chronometrage, $_GEN_commun['sortie']);
149
        $_GEN_commun['sortie'] = str_replace('<!-- CHRONOMETRAGE -->', $debogage, $_GEN_commun['sortie']);
147
    }
150
    }
148
    include_once GEN_CHEMIN_PAP.'pap_envoi.inc.php';
151
    include_once GEN_CHEMIN_PAP.'pap_envoi.inc.php';
149
}
152
}
Line 150... Line 153...
150
 
153
 
151
// Fin du programme Génésia.
154
// Fin du programme Génésia.
Line 152... Line 155...
152
exit();
155
exit();
153
 
156
 
-
 
157
 
-
 
158
/* +--Fin du code ---------------------------------------------------------------------------------------+
-
 
159
* $Log: not supported by cvs2svn $
154
 
160
* Revision 1.3  2004/07/06 17:27:23  jpm
155
/* +--Fin du code ---------------------------------------------------------------------------------------+
161
* Suppression d'inclusion du fichier de fonctions inutilisées dans Papyrus.
156
* $Log: not supported by cvs2svn $
162
*
157
* Revision 1.2  2004/06/16 15:10:24  jpm
163
* Revision 1.2  2004/06/16 15:10:24  jpm
158
* Ajout de constantes de chemins.
164
* Ajout de constantes de chemins.