session_start
This commit is contained in:
parent
4a63488b51
commit
e7551ef018
@ -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();
|
||||
|
@ -3,6 +3,8 @@ class ContactController extends ContactControllerCore {
|
||||
|
||||
public function preProcess()
|
||||
{
|
||||
session_start();
|
||||
|
||||
FrontController::preProcess();
|
||||
|
||||
if (self::$cookie->isLogged())
|
||||
|
@ -73,7 +73,6 @@ class MathCaptcha
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user