1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Possible fix for 'Anonymous' showing in logs, when admin is logged in.

This commit is contained in:
Cameron
2013-05-31 18:36:43 -07:00
parent 9d4e1f7bf0
commit 8d94fa8b23
2 changed files with 12 additions and 10 deletions

View File

@@ -841,13 +841,15 @@ class e_core_session extends e_session
if(defsettrue('e_DEBUG'))
{
$details = "HOST: ".$_SERVER['HTTP_HOST']."\n";
$details .= "REQUEST_URI: ".$_SERVER['REQUEST_URI']."\n";
$details .= "REQUEST_URI: ".$_SERVER['REQUEST_URI']."\n";
$details .= "e-token (POST): ".$_POST['e-token']."\n";
$details .= "e-token (GET): ".$_GET['e-token']."\n";
$details .= "_SESSION:\n";
$details .= print_r($_SESSION,true);
$details .= "\n_POST:\n";
$details .= print_r($_POST,true);
$details .= "\n_GET:\n";
$details .= print_r($_GET,true);
// $details .= "\n_POST:\n";
// $details .= print_r($_POST,true);
// $details .= "\n_GET:\n";
// $details .= print_r($_GET,true);
$details .= "\nPlugins:\n";
$details .= print_r($pref['plug_installed'],true);