[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 30/38: redirect via javascript
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 30/38: redirect via javascript |
Date: |
Sun, 18 Feb 2024 07:30:47 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit 4c43d4882bff2538f402f38336354946a56767c7
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Feb 16 16:49:55 2024 +0100
redirect via javascript
---
html/index.php | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/html/index.php b/html/index.php
index a28710063..0fb6daa8f 100644
--- a/html/index.php
+++ b/html/index.php
@@ -135,9 +135,17 @@
*/
-if
(!file_exists('..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'config.inc.php'))
+if
(!file_exists('..'.DIRECTORY_SEPARATOR.'include'.DIRECTORY_SEPARATOR.'config.inc.php')
)
{
+ echo <<<EOF
+
+<script>
+window.location="install.php";
+</script>
+EOF;
+
header("Location: install.php", true, 307);
+
exit(0);
}
- [Noalyss-commit] [noalyss] 16/38: Follow-Up : bug ne peut pas ajouter fichier sur nouvel événement, (continued)
- [Noalyss-commit] [noalyss] 16/38: Follow-Up : bug ne peut pas ajouter fichier sur nouvel événement, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 18/38: Fix cosmetic bug : duplicate operation with autoreverse VAT has an VAT amount, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 20/38: Fix : auto numbering receipt, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 21/38: Merge branch 'devel', dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 25/38: cosmetic, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 37/38: Cosmetic, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 38/38: Upgrade SQL, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 28/38: DB protect against JS Injection, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 07/38: SUIVI : ajout prénom, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 14/38: integre changement SQL, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 30/38: redirect via javascript,
dwm <=
- [Noalyss-commit] [noalyss] 34/38: Gestion : possibilité de sauvegarder les recherches, dwm, 2024/02/18