diff --git a/config.php b/config.php new file mode 100644 index 0000000..e26eeb9 --- /dev/null +++ b/config.php @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/index.php b/index.php index 86202b0..2d162e8 100644 --- a/index.php +++ b/index.php @@ -6,9 +6,8 @@ require_once("gatewayAdmins.php"); require_once("gatewaySources.php"); - $user= 'jeducourth'; - $pass='achanger'; - $dsn='mysql:host=localhost;dbname=dbjeducourth'; + //chargement config + require_once("config.php"); $title="titre"; $description="descirption du titre";