You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
764 B
33 lines
764 B
<?php
|
|
//préfixe
|
|
$rep = __DIR__ . '/../';
|
|
|
|
//BD
|
|
// $dsn = 'mysql:host=londres.uca.local; dbname=dbnogarnier1';
|
|
// $user = 'nogarnier1';
|
|
// $password = 'achanger';
|
|
|
|
// scripted.db
|
|
|
|
// $dsn = 'mysql:host=localhost; dbname=scripted';
|
|
// $user = 'root';
|
|
// $password = 'p';
|
|
|
|
// SQULITE3
|
|
$dsn = './Model/scripted.db';
|
|
|
|
//Sel de hashage
|
|
$sel = "JeSuisUnSeldeHashageEtJeSuisUniqueEtTresSecuriseEtJeSuisTresLong";
|
|
|
|
//View
|
|
//Page
|
|
$vues['main'] = 'View/src/pages/Main.php';
|
|
$vues['presentation'] = 'View/src/pages/Presentation.html';
|
|
$vues['login'] = '../View/src/pages/LogSign/Login.php';
|
|
$vues['signUp'] = 'View/src/pages/LogSign/SignUp.php';
|
|
$vues['enigme'] = 'View/src/pages/Enigme/palindrome.html';
|
|
|
|
//Error
|
|
$vues['erreur'] = 'View/src/pages/Erreur.php';
|
|
$error = "";
|