diff --git a/index.php b/index.php
index 73b6142..bcf0314 100755
--- a/index.php
+++ b/index.php
@@ -78,7 +78,7 @@ if (badQuery()) {
if (!isset($params['mainColor']) OR !is_string($params['mainColor']))
$params['mainColor'] = "#000000";
- header('Location: ' . $instPath . "?" . http_build_query($params));
+ header('Location: ' . $rootPath . "?" . http_build_query($params));
exit;
}
diff --git a/manifest.php b/manifest.php
index 1e04f23..4abb10f 100755
--- a/manifest.php
+++ b/manifest.php
@@ -5,8 +5,8 @@
"name": "LibreQR",
"short_name": "LibreQR",
"description": "= $loc['subtitle'] ?>",
- "start_url": "= $instPath; ?>",
- "scope": "= $instPath; ?>",
+ "start_url": "= $rootPath; ?>",
+ "scope": "= $rootPath; ?>",
"display": "standalone",
"theme_color": "= $variablesTheme["bg"]; ?>",
"background_color": "= $variablesTheme["bg"]; ?>",
diff --git a/opensearch.php b/opensearch.php
index b2b5182..9e08447 100755
--- a/opensearch.php
+++ b/opensearch.php
@@ -5,7 +5,7 @@
= $loc['opensearch_actionName'] ?>
' . $instPath . 'themes/' . $theme . '/icons/' . $dimIcon . '.png' . "\n";
+ echo ' ' . $rootPath . 'themes/' . $theme . '/icons/' . $dimIcon . '.png' . "\n";
} ?>
*
UTF-8
@@ -16,7 +16,7 @@
$bgColor = htmlspecialchars(urlencode((isset($_GET['bgColor'])) ? $_GET['bgColor'] : '%23FFFFFF'));
$mainColor = htmlspecialchars(urlencode((isset($_GET['mainColor'])) ? $_GET['mainColor'] : '%23000000'));
?>
-
+
@@ -24,7 +24,7 @@
-
+