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.
Scripted/WEB/Config/Config.php

37 lines
858 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 = 'sqlite3:' . 'https://sancy.iut.uca.fr/~lafourcade/Scripted/WEB/Model/scripted.db';
$user = null;
$password = null;
//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 = "";