From 19c8de60399123ed2453be34e88378e6cca186a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 5 Oct 2010 16:14:36 +0200 Subject: [PATCH] =?UTF-8?q?Tentative=20(=C3=A9chou=C3=A9e)=20de=20r=C3=A9c?= =?UTF-8?q?up=C3=A9rer=20les=20erreurs=20de=20PHP=20:(=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cms2/code/index.php | 18 ++++++++++++------ cms2/code/main.php | 6 ++++++ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/cms2/code/index.php b/cms2/code/index.php index 04c0305..0c50cf1 100644 --- a/cms2/code/index.php +++ b/cms2/code/index.php @@ -1,13 +1,19 @@ Erreur lors de la mise en place des mécanismes de détection et d'affichage d'erreurs."; + die(); +} + +require_once(dirname(__FILE__) . "/main.php"); ?> \ No newline at end of file diff --git a/cms2/code/main.php b/cms2/code/main.php index e6a0b5b..6a6009b 100644 --- a/cms2/code/main.php +++ b/cms2/code/main.php @@ -1,5 +1,8 @@ res_h_page(); @@ -7,4 +10,7 @@ function main() { Debug::afficher(); } +//trigger_error("ABCDE", E_USER_NOTICE); +main(); + ?> \ No newline at end of file