From 1d41853fe3f9cc2a693f59eb3691136ff23efbdb Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 16 Feb 2016 00:03:26 +0100 Subject: [PATCH] Audit Security --- include/constant.security.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/constant.security.php b/include/constant.security.php index e27420d58..baf161e46 100644 --- a/include/constant.security.php +++ b/include/constant.security.php @@ -29,5 +29,7 @@ define ('RMOPER',1120); // Effacer une opération comptable define ('SHARENOTE',1210); // Can share a note define ('SHARENOTEPUBLIC',1220); // Can create public note define ('SHARENOTEREMOVE',1230); // Can drop drop of other -global $audit; $audit=false; +global $audit; +$audit=false; +if (defined('AUDIT_ENABLE') && AUDIT_ENABLE == true ) $audit=true; ?>