Revision 9b2de7e2
Added by Ermal LUÇI over 13 years ago
etc/inc/auth.inc | ||
---|---|---|
1287 | 1287 |
function session_auth() { |
1288 | 1288 |
global $HTTP_SERVER_VARS, $config, $_SESSION, $page; |
1289 | 1289 |
|
1290 |
session_start(); |
|
1290 |
if (session_id()) |
|
1291 |
session_start(); |
|
1291 | 1292 |
|
1292 | 1293 |
/* Validate incoming login request */ |
1293 | 1294 |
if (isset($_POST['login'])) { |
Also available in: Unified diff
Check if a session already exists to avoid errors issued by php on sesion_start being called on existing session