1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/session_init.php

24 lines
838 B
PHP
Raw Normal View History

2021-10-14 17:58:21 +02:00
<?php
2022-09-21 20:30:23 +02:00
ini_set('session.use_strict_mode','true');
ini_set('session.cookie_secure','true');
ini_set('session.hash_function','md5');
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
ini_set('serialize_precision', 8);
$cookiesparams = session_get_cookie_params();
session_set_cookie_params ( 0, $cookiesparams["path"], $cookiesparams["domain"], true, true );
2022-09-21 15:40:34 +02:00
session_start();
2021-10-14 17:58:21 +02:00
error_reporting(E_ALL);
date_default_timezone_set("Europe/Paris");
2022-09-29 16:40:13 +02:00
$base_path = "/var/www/html";
set_include_path(get_include_path() . ':' .$base_path . '/vote/include');
set_include_path(get_include_path() . ':' .$base_path . '/css');
set_include_path(get_include_path() . ':' .$base_path . '/font-awesome');
set_include_path(get_include_path() . ':' .$base_path . '/img');
set_include_path(get_include_path() . ':' .$base_path . '/js');
2022-09-21 15:12:33 +02:00
2021-10-14 17:58:21 +02:00
?>
2022-09-29 16:40:13 +02:00