[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/02: Audit Security
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/02: Audit Security |
Date: |
Tue, 16 Feb 2016 23:42:06 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 1d41853fe3f9cc2a693f59eb3691136ff23efbdb
Author: Dany De Bontridder <address@hidden>
Date: Tue Feb 16 00:03:26 2016 +0100
Audit Security
---
include/constant.security.php | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/include/constant.security.php b/include/constant.security.php
index e27420d..baf161e 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;
?>