| Line 19... |
Line 19... |
| 19 |
// | |
|
19 |
// | |
|
| 20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
| 21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; 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 |
// CVS : $Id: BOG_Gestionnaire_Erreur.class.php,v 1.6 2007-03-01 11:07:43 jp_milcent Exp $
|
24 |
// CVS : $Id: BOG_Gestionnaire_Erreur.class.php,v 1.7 2007-08-28 14:03:33 jp_milcent Exp $
|
| 25 |
/**
|
25 |
/**
|
| 26 |
* Classe permettant de créer un gestionnaire d'erreur PHP
|
26 |
* Classe permettant de créer un gestionnaire d'erreur PHP
|
| 27 |
*
|
27 |
*
|
| 28 |
* La classe permet de créer un gestionnaire d'erreur PHP et de le configurer.
|
28 |
* La classe permet de créer un gestionnaire d'erreur PHP et de le configurer.
|
| 29 |
*
|
29 |
*
|
| 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.6 $ $Date: 2007-03-01 11:07:43 $
|
36 |
*@version $Revision: 1.7 $ $Date: 2007-08-28 14:03:33 $
|
| 37 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
| 38 |
*/
|
38 |
*/
|
| Line 39... |
Line 39... |
| 39 |
|
39 |
|
| 40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 200... |
Line 200... |
| 200 |
}
|
200 |
}
|
| Line 201... |
Line 201... |
| 201 |
|
201 |
|
| 202 |
}
|
202 |
}
|
| 203 |
switch (PAP_DEBOGAGE_TYPE) {
|
203 |
switch (PAP_DEBOGAGE_TYPE) {
|
| 204 |
case 'FIREBUG':
|
204 |
case 'FIREBUG':
|
| 205 |
$retour = '<script>'."\n".$contenu.'</script>'."\n";
|
205 |
$retour = '<script type="text/javascript">'."\n".$contenu.'</script>'."\n";
|
| 206 |
break;
|
206 |
break;
|
| 207 |
case 'HTML':
|
207 |
case 'HTML':
|
| 208 |
default:
|
208 |
default:
|
| 209 |
$retour = $contenu;
|
209 |
$retour = $contenu;
|
| Line 219... |
Line 219... |
| 219 |
|
219 |
|
| 220 |
|
220 |
|
| 221 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
221 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| - |
|
222 |
*
|
| - |
|
223 |
* $Log: not supported by cvs2svn $
|
| - |
|
224 |
* Revision 1.6 2007-03-01 11:07:43 jp_milcent
|
| 222 |
*
|
225 |
* Gestion de deux types de débogage : html ou firebug.
|
| 223 |
* $Log: not supported by cvs2svn $
|
226 |
*
|
| 224 |
* Revision 1.5 2005/09/20 20:25:39 ddelon
|
227 |
* Revision 1.5 2005/09/20 20:25:39 ddelon
|
| 225 |
* php5 et bugs divers
|
228 |
* php5 et bugs divers
|
| 226 |
*
|
229 |
*
|