debug
This commit is contained in:
parent
f8549abcf9
commit
5d1148c7c8
@ -1,5 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require_once '../session_init.php';
|
require_once '../session_init.php';
|
||||||
require_once 'config.inc.php';
|
require_once 'config.inc.php';
|
||||||
require_once 'db.class.php';
|
require_once 'db.class.php';
|
||||||
|
@ -19,7 +19,7 @@ if (empty($idVotation))
|
|||||||
{
|
{
|
||||||
if (array_key_exists("idVotation", $GLOBALS))
|
if (array_key_exists("idVotation", $GLOBALS))
|
||||||
{
|
{
|
||||||
$idVotation == $GLOBALS["idVotation"];
|
$idVotation = $GLOBALS["idVotation"];
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
choixVotation($path);
|
choixVotation($path);
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
ini_set('session.use_strict_mode','true');
|
ini_set('session.use_strict_mode','true');
|
||||||
ini_set('session.cookie_secure','true');
|
ini_set('session.cookie_secure','true');
|
||||||
ini_set('session.hash_function','md5');
|
ini_set('session.hash_function','md5');
|
||||||
@ -8,8 +7,10 @@ ini_set('display_startup_errors', 1);
|
|||||||
ini_set('serialize_precision', 8);
|
ini_set('serialize_precision', 8);
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
date_default_timezone_set("Europe/Paris");
|
date_default_timezone_set("Europe/Paris");
|
||||||
|
|
||||||
$base_path = "/var/www/html/vote";
|
$base_path = "/var/www/html/vote";
|
||||||
set_include_path(get_include_path() . ':' .$base_path . '/include');
|
set_include_path(get_include_path() . ':' .$base_path . '/include');
|
||||||
|
|
||||||
$cookiesparams = session_get_cookie_params();
|
$cookiesparams = session_get_cookie_params();
|
||||||
//session_set_cookie_params ( 0, $cookiesparams["path"], $cookiesparams["domain"], true, true );
|
//session_set_cookie_params ( 0, $cookiesparams["path"], $cookiesparams["domain"], true, true );
|
||||||
//session_start();
|
//session_start();
|
||||||
|
Reference in New Issue
Block a user