diff options
Diffstat (limited to 'classes/Session.php')
-rw-r--r-- | classes/Session.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/Session.php b/classes/Session.php index 5c48e4aa9..93fd99baa 100644 --- a/classes/Session.php +++ b/classes/Session.php @@ -42,7 +42,9 @@ class Session extends Memcached_DataObject static function logdeb($msg) { - common_debug("Session: " . $msg); + if (common_config('sessions', 'debug')) { + common_debug("Session: " . $msg); + } } static function open($save_path, $session_name) |