upgrade 2.0.8. >> 2.0.10
Geplaatst: 20 jul 2004, 12:57
ik ben handmatig aan het overzetten maar nu kom ik dit tegen:
Maar mijn regel 45 t/m 50 is dit :
Iemand die dit snapt?
Code: Selecteer alles
includes/sessions.php
FIND - Line 48
2.0.8 Code:
$sessiondata = array();
$session_id = ( isset($HTTP_GET_VARS['sid']) ) ? $HTTP_GET_VARS['sid'] : '';
$sessionmethod = SESSION_METHOD_GET;
}
AFTER, ADD
2.0.10 Code:
//
if (!preg_match('/^[A-Za-z0-9]*$/', $session_id))
{
$session_id = '';
}
Code: Selecteer alles
// Adds/updates a new session to the database for the given userid.
// Returns the new session ID on success.