summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoshe weitzman2008-07-02 16:42:56 (GMT)
committer moshe weitzman2008-07-02 16:42:56 (GMT)
commit2f8baa76c8d72a70fec62e4dce7d3af4a4cc0d21 (patch)
treee454d7abadc1cd6cb04cfbfcf9823fb713bf5784
parent02804073e47f2ff5197274e3b55c3dda31992f3e (diff)
fix session id display on session viewer page
-rw-r--r--devel.module3
-rw-r--r--devel_themer.module2
2 files changed, 3 insertions, 2 deletions
diff --git a/devel.module b/devel.module
index e5baee7..5af65d3 100644
--- a/devel.module
+++ b/devel.module
@@ -1185,7 +1185,8 @@ function devel_session() {
global $user;
$output = kprint_r($_SESSION, TRUE);
$headers = array(t('Session name'), t('Session ID'));
- $output .= theme('table', $headers, array(array(session_name(), $user->sid)));
+ dsm($user);
+ $output .= theme('table', $headers, array(array(session_name(), session_id())));
return $output;
}
diff --git a/devel_themer.module b/devel_themer.module
index bc55923..712b4bc 100644
--- a/devel_themer.module
+++ b/devel_themer.module
@@ -200,7 +200,7 @@ function devel_themer_catch_function() {
if (empty($meta['variables'])) {
$variables = array();
}
- elseif (has_krumo()) {
+ elseif (FALSE && has_krumo()) {
$variables = krumo_ob($meta['variables']);
}
else {