session_start

This commit is contained in:
Michael RICOIS 2018-03-06 10:33:14 +01:00
parent 4a63488b51
commit e7551ef018
3 changed files with 7 additions and 4 deletions

View File

@ -3,6 +3,8 @@ require_once dirname(__FILE__).'/../../config/config.inc.php';
require_once dirname(__FILE__).'/../../init.php';
require_once dirname(__FILE__).'/Reason.php';
session_start();
$controller->preProcess();
$langs = Language::getLanguages();

View File

@ -3,6 +3,8 @@ class ContactController extends ContactControllerCore {
public function preProcess()
{
session_start();
FrontController::preProcess();
if (self::$cookie->isLogged())

View File

@ -73,7 +73,6 @@ class MathCaptcha
else {
return false;
}
}
}