Corrections bugs dus à la nouvelle arborescence
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require(basename(__FILE__) . "/config.php");
|
||||
require(dirname(__FILE__) . "/config.php");
|
||||
|
||||
$pdo_options[PDO::ATTR_ERRMODE] = PDO::ERRMODE_EXCEPTION;
|
||||
$bdd = new PDO("mysql:host='.$hote.';port='.$port.';dbname='.$bd, $utilisateur, $mdp, $options);
|
||||
$options[PDO::ATTR_ERRMODE] = PDO::ERRMODE_EXCEPTION;
|
||||
$bdd = new PDO("mysql:host=$hote;port=$port;dbname=$bd", $utilisateur, $mdp, $options);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user