debug
This commit is contained in:
parent
e3bc38908c
commit
cf04f5c64c
@ -1,72 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="Kevin PITA - Daniel Tartavel">
|
||||
|
||||
<title>Lyon Association Libre Informatique Solidaire</title>
|
||||
|
||||
<!-- Bootstrap Core CSS - Uses Bootswatch Flatly Theme: http://bootswatch.com/flatly/ >
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet"-->
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link href="css/freelancer.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Fonts >
|
||||
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css"-->
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="page-top" class="index">
|
||||
|
||||
<!-- Navigation -->
|
||||
<nav class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header page-scroll">
|
||||
<!--button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button-->
|
||||
<a class="navbar-brand" href="#page-top">LALIS</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="hidden">
|
||||
<a href="<?php echo $webSite;?>/index.html#page-top"></a>
|
||||
</li>
|
||||
<li class="page-scroll">
|
||||
<a href="<?php echo $webSite;?>/index.html#content">Présentation</a>
|
||||
</li>
|
||||
<li class="page-scroll">
|
||||
<a href="<?php echo $webSite;?>/index.html#about">Nos engagements</a>
|
||||
</li>
|
||||
<li class="page-scroll">
|
||||
<a href="<?php echo $webSite;?>/index.html#horaires">Horaires</a>
|
||||
</li>
|
||||
<li class="page-scroll">
|
||||
<a href="<?php echo $webSite;?>/index.html#contact">Contact</a>
|
||||
</li>
|
||||
<li class="page-scroll">
|
||||
<a href="<?php echo $webSite;?>/vote/votations.php">Votations</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><div><a>Association loi 1901</a></div>
|
||||
<!-- /.navbar-collapse -->
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</nav>
|
25
index.php
25
index.php
@ -1,6 +1,25 @@
|
||||
<?php
|
||||
require "session_init.php";
|
||||
require "config.inc.php";
|
||||
require "db.class.php";
|
||||
require_once '../session_init.php';
|
||||
require_once 'config.inc.php';
|
||||
require_once 'entete.php';
|
||||
|
||||
print(' <br><br>
|
||||
<!-- lalis Grid Section -->
|
||||
|
||||
<section id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 text-center">
|
||||
<h3>Gestion du site</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<ul>
|
||||
<li><a href="../vote.resultat.php">liste des votations</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>');
|
||||
|
||||
require_once './footer.html';
|
||||
?>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
if (session_id() = "")
|
||||
if (empty(session_id()))
|
||||
{
|
||||
ini_set('session.use_strict_mode','true');
|
||||
ini_set('session.cookie_secure','true');
|
||||
@ -7,13 +7,14 @@ if (session_id() = "")
|
||||
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 );
|
||||
//$cookiesparams = session_get_cookie_params();
|
||||
//session_set_cookie_params ( 0, $cookiesparams["path"], $cookiesparams["domain"], true, true );
|
||||
}
|
||||
session_start();
|
||||
|
||||
error_reporting(E_ALL);
|
||||
date_default_timezone_set("Europe/Paris");
|
||||
$base_path = "/var/www/html/vote";
|
||||
set_include_path(get_include_path() . ':' .$base_path . '/include');
|
||||
|
||||
session_start();
|
||||
?>
|
||||
|
Reference in New Issue
Block a user