[pmwiki-users] $_SESSION[] in ?action=diag
Joachim Durchholz
jo at durchholz.org
Fri Jul 8 17:35:06 CDT 2005
Patrick R. Michaud wrote:
> 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.
I just found that all calls to session_start are prefixed by @ - seems
like an even better idea for diag.php.
Regards,
Jo
More information about the pmwiki-users
mailing list