22,7 → 22,7 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// | | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: papyrus.php,v 1.6 2004-10-22 17:24:53 jpm Exp $ |
// CVS : $Id: papyrus.php,v 1.7 2004-11-24 18:33:05 jpm Exp $ |
/** |
* Papyrus : programme principale appelant différent fichier à inclure dans un ordre précis. |
* |
37,7 → 37,7 |
*@author Alexandre GRANIER <alex@tela-botanica.org> |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.6 $ $Date: 2004-10-22 17:24:53 $ |
*@version $Revision: 1.7 $ $Date: 2004-11-24 18:33:05 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
46,6 → 46,7 |
// +------------------------------------------------------------------------------------------------------+ |
// Création des variables globale de Papyrus |
$GLOBALS['_GEN_commun'] = array(); |
$GLOBALS['_PAPYRUS_'] = array(); |
$GLOBALS['chrono_flash'] = array(); |
|
// Première mesure du chronométrage |
163,10 → 164,10 |
if (GEN_DEBOGAGE) { |
// En cas de chronométrage, nous insérons le tableau des résultats. |
$debogage = BOG_afficherChrono(12); |
$_GEN_commun['sortie'] = str_replace('<!-- CHRONOMETRAGE -->', $debogage, $_GEN_commun['sortie']); |
$_GEN_commun['sortie'] = str_replace('<!-- '.$_GEN_commun['balise_prefixe'].'CHRONOMETRAGE -->', $debogage, $_GEN_commun['sortie']); |
// Gestion des erreurs et du débogage |
$_GEN_commun['debogage_info'] .= $_GEN_commun['debogage_erreur']->retournerErreurs(); |
$_GEN_commun['sortie'] = str_replace('<!-- DEBOGAGE -->', $_GEN_commun['debogage_info'], $_GEN_commun['sortie']); |
$_GEN_commun['sortie'] = str_replace('<!-- '.$_GEN_commun['balise_prefixe'].'DEBOGAGE -->', $_GEN_commun['debogage_info'], $_GEN_commun['sortie']); |
} |
include_once GEN_CHEMIN_PAP.'pap_envoi.inc.php'; |
} |
177,6 → 178,9 |
|
/* +--Fin du code ---------------------------------------------------------------------------------------+ |
* $Log: not supported by cvs2svn $ |
* Revision 1.6 2004/10/22 17:24:53 jpm |
* Amélioration de l'inclusion des fichiers et des tests. |
* |
* Revision 1.5 2004/09/28 14:57:53 jpm |
* Création d'une balise propre au débogage. |
* |