[pmwiki-users] $_SESSION[] in ?action=diag

Patrick R. Michaud pmichaud at pobox.com
Fri Jul 8 17:26:24 CDT 2005


On Sat, Jul 09, 2005 at 12:21:14AM +0200, Joachim Durchholz wrote:
> Hi all,
> 
> I'd find it helpful if ?action=diag would include $_SESSION[] in its output.
> 
> I suggest inserting a call to session_start() in scripts/diag.php, so 
> that the code reads like this:
> 
> if ($action=='diag') {
>   session_start();
>   header('Content-type: text/plain');
>   print_r($GLOBALS);
>   exit();
> }

Good idea.  Done, added for the next beta release.

Pm



More information about the pmwiki-users mailing list