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();