Author:   Lars Michelsen <[email protected]>
Date:     Tue Feb 14 17:29:59 2012 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Tue Feb 14 17:29:59 2012 +0100

The audit.log is disabled by default now (can be enabled using the
audit_log parameter in [global] section)

---

 ChangeLog                                   |    2 ++
 share/server/core/classes/GlobalMainCfg.php |    8 +++++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 16d844a..60bcb7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,8 @@ Core
   * FIX: Fixed wrong computed shape urls which broke all shapes
   * The label_show parameter can now be configured for the whole installation
     in the [defaults] section of the main configuration
+  * The audit.log is disabled by default now (can be enabled using the
+    audit_log parameter in [global] section)
 
 Frontend
   * Weathermap line color definitions support usage values above 100% and 
below 0%
diff --git a/share/server/core/classes/GlobalMainCfg.php 
b/share/server/core/classes/GlobalMainCfg.php
index e0e7791..b9f6750 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -48,10 +48,12 @@ class GlobalMainCfg {
     public function __construct() {
         $this->validConfig = Array(
             'global' => Array(
-                'audit_log' => Array('must' => 1,
+                'audit_log' => Array(
+                    'must'     => 1,
                     'editable' => 1,
-                    'default' => true,
-                    'match' => MATCH_BOOLEAN),
+                    'default'  => 0,
+                    'match'    => MATCH_BOOLEAN
+                ),
                 'authmodule' => Array('must' => 1,
                     'editable' => 1,
                     'default' => 'CoreAuthModSQLite',


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to