From 27bb3de75c9506f62192831a177755179b11175d Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 31 Jul 2023 20:24:04 +0200 Subject: [PATCH] Console.log --- core/core.php | 2 +- core/module/install/view/update/update.js.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 3a341735..c5d90c15 100644 --- a/core/core.php +++ b/core/core.php @@ -55,7 +55,7 @@ class common // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; - const ZWII_UPDATE_CHANNEL = "v13"; + const ZWII_UPDATE_CHANNEL = 'v13'; // URL langues de l'UI en ligne const ZWII_UI_URL = 'https://forge.chapril.org/ZwiiCMS-Team/zwiicms-translations/raw/branch/master/'; diff --git a/core/module/install/view/update/update.js.php b/core/module/install/view/update/update.js.php index 025a5b0b..5297f340 100644 --- a/core/module/install/view/update/update.js.php +++ b/core/module/install/view/update/update.js.php @@ -29,6 +29,10 @@ function step(i, data) { }), 2e3) }, error: function (xhr) { + // Balance tout dans la console + console.log(i); + console.log(xhr.responseText); + console.log(errors); // Appel de la fonction de gestion d'erreur showError(i, xhr.responseText, errors); }