WebManifest

This commit is contained in:
Miraty 2019-03-28 22:44:06 +01:00
commit cb782988d4
6 changed files with 91 additions and 11 deletions

View file

@ -1,6 +1,11 @@
<?php
// Paramètres :
supprimerVieuxQR(60 * 60 * 24 * 7); // Indique le temps en secondes après lequel le code qr sera supprimé quand qq chargera la page
$theme = "defaut"; // defaut ou parinux
$cheminInstall = "https://example.org"; // L'adresse racine depuis laquelle le générateur sera accessible (avec le slash final)
if ($theme == "defaut") {
$couleurPrincipale = "#2D2F34";
@ -8,10 +13,6 @@ if ($theme == "defaut") {
$couleurPrincipale = "#157097";
}
$cheminInstall = "http://localhost:8888/qr/";
function generateRandomString($length) {
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$charactersLength = strlen($characters);