i had to remove the regenerate function, because my local php keeps deleting the session as a result of this function (i've no idea why)

This commit is contained in:
overflowerror 2014-08-16 21:01:23 +02:00
parent 595fb43edc
commit 7634231380

View file

@ -1,11 +1,11 @@
<?php
@session_start();
//session_regenerate_id();
require_once("actionLogger.php");
require_once("config.php");
session_regenerate_id();
if (!isset($_SESSION['active']) || !$_SESSION['active']) {
$_SESSION['active'] = true;
$_SESSION['created'] = time();