diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-06-27 08:11:09 -0700 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-06-27 08:11:09 -0700 |
commit | 871f598dcc81d7018f25590d767591722bb977f2 (patch) | |
tree | e8a9ffa43b9c20c2fbcbe044a31bcd5b75b01308 /classes | |
parent | fb84c35035e33eebea79f207f73ba2deea86c4d7 (diff) |
debug flag for sessions
Diffstat (limited to 'classes')
-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) |