MàJ de SID/index.php
This commit is contained in:
parent
f8b632bbe0
commit
4771c00e28
|
@ -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>
|
||||
|
||||
|
|
|
@ -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", "");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue