WebManifest
This commit is contained in:
parent
8a2a605f45
commit
cb782988d4
6 changed files with 91 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue