28 lines
821 B
PHP
Executable File
28 lines
821 B
PHP
Executable File
<?php // This file is part of LibreQR, which is distributed under the GNU AGPLv3+ license
|
|
require "inc.php"; ?>
|
|
{
|
|
"dir": "ltr",
|
|
"lang": "<?= $locale ?>",
|
|
"name": "LibreQR",
|
|
"short_name": "LibreQR",
|
|
"description": "<?= $loc['subtitle'] ?>",
|
|
"start_url": "<?= $rootPath; ?>",
|
|
"scope": "<?= $rootPath; ?>",
|
|
"orientation": "any",
|
|
"icons":
|
|
[
|
|
<?php for ($i = 0; $i < (count($themeDimensionsIcons) - 1); $i++) { ?>
|
|
{
|
|
"src": "themes/<?= $theme; ?>/icons/<?= $themeDimensionsIcons[$i]; ?>.png",
|
|
"sizes": "<?= $themeDimensionsIcons[$i]; ?>x<?= $themeDimensionsIcons[$i]; ?>",
|
|
"type": "image/png"
|
|
},
|
|
<?php } ?>
|
|
{
|
|
"src": "themes/<?= $theme; ?>/icons/<?= $themeDimensionsIcons[$i]; ?>.png",
|
|
"sizes": "<?= $themeDimensionsIcons[$i]; ?>x<?= $themeDimensionsIcons[$i]; ?>",
|
|
"type": "image/png"
|
|
}
|
|
]
|
|
}
|