From 2f3ed0402351020f06485c9ffd6866d0f2f0a651 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 19 Jan 2013 17:56:26 +0100 Subject: [PATCH] Add info if session are encrypted --- htdocs/admin/tools/listsessions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/admin/tools/listsessions.php b/htdocs/admin/tools/listsessions.php index 58b2e6f1aea..0193ed9d833 100644 --- a/htdocs/admin/tools/listsessions.php +++ b/htdocs/admin/tools/listsessions.php @@ -104,10 +104,13 @@ print_barre_liste($langs->trans("Sessions"), $page, $_SERVER["PHP_SELF"],"",$sor $savehandler=ini_get("session.save_handler"); $savepath=ini_get("session.save_path"); $openbasedir=ini_get("open_basedir"); +$phparray=phpinfo_array(); +$suhosin=empty($phparray['suhosin']["suhosin.session.encrypt"]["local"])?'':$phparray['suhosin']["suhosin.session.encrypt"]["local"]; print ''.$langs->trans("SessionSaveHandler").': '.$savehandler.'
'; print ''.$langs->trans("SessionSavePath").': '.$savepath.'
'; if ($openbasedir) print ''.$langs->trans("OpenBaseDir").': '.$openbasedir.'
'; +if ($suhosin) print ''.$langs->trans("SuhosinSessionEncrypt").': '.$suhosin.'
'; print '
'; if ($action == 'purge')