MàJ de SID/index.php

This commit is contained in:
Fauvet 2015-11-09 10:13:52 +01:00
parent f8b632bbe0
commit 4771c00e28
2 changed files with 3 additions and 11 deletions

View File

@ -35,14 +35,6 @@ $notifNotifNum = 5;
</head>
<body><!-- CORPS DE LA PAGE -->
<?php
if( $_SESSION['identifiant'] != null ){
echo "<input type='hidden' name='identifiant' value='".$_SESSION['identifiant']."'>";
echo "<input type='hidden' name='droits' value='".$_SESSION['droits']."' >";
echo "<input type='hidden' name='semestre' value='".$_SESSION['semestre']."' >";
echo "<input type='hidden' name='annee' value='".$_SESSION['annee']."' >";
}
?>
<div id='DRAGNDROP'></div>

View File

@ -24,7 +24,7 @@ class DataBase{
/* retourne une instance de la classe */
public static function getInstance(){
return new DataBase("localhost", "sid2", "php", "Qt358nUdyeTxLDM8");
return new DataBase("localhost", "sid2", "root", "");
}