Module: nagvis
Branch: nagvis-1.5
Commit: 51ca2e946cb99e0330cefd231164e9c0aff1f89c
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=51ca2e946cb99e0330cefd231164e9c0aff1f89c

Author: Lars Michelsen <[email protected]>
Date:   Tue Jan 11 19:01:14 2011 +0100

Bugfix: Suppressing php errors on ps_files_cleanup_dir in debian

---

 ChangeLog                                        |    1 +
 share/server/core/classes/CoreSessionHandler.php |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index cc4dc54..b4ea806 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 Core
   * Refactored map configuration parsing code
   * Reimplemented maintenance mode: in_maintenance=1 is working again
+  * Bugfix: Suppressing php errors on ps_files_cleanup_dir in debian
 
 Automap
   * Hiding deprecated maxLayers param from automap modify dialog
diff --git a/share/server/core/classes/CoreSessionHandler.php 
b/share/server/core/classes/CoreSessionHandler.php
index 556ee25..a5502e4 100644
--- a/share/server/core/classes/CoreSessionHandler.php
+++ b/share/server/core/classes/CoreSessionHandler.php
@@ -49,7 +49,7 @@ class CoreSessionHandler {
                
                // Start a session for the user when not started yet
                if(!isset($_SESSION)) {
-                       session_start();
+                       @session_start();
                        
                        // Store the creation time of the session
                        $this->set('sessionExpires', time()+$iDuration);


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to