diff --git a/core/core.php b/core/core.php index 944555b3..d24a963d 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '13.4.00.test4'; + const ZWII_VERSION = '13.4.00.test5'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/cms-update/raw/branch/master/'; diff --git a/core/module/install/install.php b/core/module/install/install.php index e5a677aa..1f60a37d 100644 --- a/core/module/install/install.php +++ b/core/module/install/install.php @@ -284,7 +284,7 @@ class install extends common 'display' => self::DISPLAY_JSON, 'content' => [ 'success' => $success, - 'data' => $success ? null : json_encode($message, JSON_UNESCAPED_UNICODE) + 'data' => $message ] ]); break; @@ -317,7 +317,7 @@ class install extends common 'display' => self::DISPLAY_JSON, 'content' => [ 'success' => $success, - 'data' => json_encode($message, JSON_UNESCAPED_UNICODE) + 'data' => $message ] ]); break; @@ -360,7 +360,7 @@ class install extends common 'display' => self::DISPLAY_JSON, 'content' => [ 'success' => $success, - 'data' => json_encode($message, JSON_UNESCAPED_UNICODE) + 'data' => $message, ] ]); break; @@ -437,7 +437,7 @@ class install extends common 'display' => self::DISPLAY_JSON, 'content' => [ 'success' => $success, - 'data' => json_encode($message, JSON_UNESCAPED_UNICODE) + 'data' => $message ] ]); }