From 4e1a5027dc577f0065140e9962347184659ea91e Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Mon, 18 Feb 2013 10:34:09 +0000 Subject: [PATCH] Maintenant, le debug php on l'active en "touch"-ant un fichier. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Evite de se looser dans les commits et autre, et on garde le debug activĂ© tout le long du developpement --- bureau/class/config.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bureau/class/config.php b/bureau/class/config.php index cc32bd3b..9833bdb1 100644 --- a/bureau/class/config.php +++ b/bureau/class/config.php @@ -28,10 +28,11 @@ ---------------------------------------------------------------------- */ -/* */ -// To enable dispay of PHP errors -ini_set('display_errors', true); -/* */ +// To enable the display of the alternc debug error, do the following : +// # touch /etc/alternc/alternc_display_php_error +if (file_exists('/etc/alternc/alternc_display_php_error')) { + ini_set('display_errors', true); +} session_start();