summaryrefslogtreecommitdiff
path: root/classes/Session.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-27 08:11:09 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-27 08:11:09 -0700
commit871f598dcc81d7018f25590d767591722bb977f2 (patch)
treee8a9ffa43b9c20c2fbcbe044a31bcd5b75b01308 /classes/Session.php
parentfb84c35035e33eebea79f207f73ba2deea86c4d7 (diff)
debug flag for sessions
Diffstat (limited to 'classes/Session.php')
-rw-r--r--classes/Session.php4
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)