New config.inc.php and fuse inc.php in index.php

This commit is contained in:
Miraty 2022-02-18 17:15:43 +01:00
commit 8761d0e33a
6 changed files with 52 additions and 72 deletions

View file

@ -1,31 +1,20 @@
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
// ----- Settings -----
// ----- Paramètres -----
// LIBREQR SETTINGS
// EN: Time in seconds after which the QR code will be deleted when a page loads.
// Default: 60 * 60 * 24 * 2 (two days)
// FR : Temps en secondes après lequel le code QR sera supprimé lors du chargement d'une page.
// Par défaut : 60 * 60 * 24 * 2 (deux jours)
$timeBeforeDeletion = 60 * 60 * 24 * 2;
// Theme's directory name
define("THEME", "contrast");
// EN: Theme's name (must be in the themes directory)
// FR : Nom du thème (doit être dans le dossier themes)
$theme = "libreqr";
// Language used if those requested by the user are not available
define("DEFAULT_LOCALE", "en");
// EN: Language used if those requested by the user are not available
// FR : Langue utilisée si celles demandées par l'utilisateurice ne sont pas disponibles
$locale = "en";
// Will be printed at the bottom of the interface
define("CUSTOM_TEXT_ENABLED", false);
define("CUSTOM_TEXT", "This LibreQR instance is hosted by <a href='https://foo.example/'>foo</a>.");
// EN: Should the locales requested by the user be ignored?
// FR : Faut-il ignorer les langues demandées par l'utilisateurice ?
$forceLocale = false;
// EN: Lenght of the QR code filename
// FR : Longueur du nom du fichier du code QR
$fileNameLenght = 32;
// EN: Will be printed at the bottom of the interface
// FR : Sera affiché en bas de l'interface
$customTextEnabled = false;
$customText = "This LibreQR instance is hosted by <a href='https://foo.example/'>foo</a>.";
// Default values
define("DEFAULT_REDUNDANCY", "high");
define("DEFAULT_MARGIN", NULL);
define("DEFAULT_SIZE", NULL);
define("DEFAULT_BGCOLOR", "FFFFFF");
define("DEFAULT_MAINCOLOR", "000000");