MAJ en Thelia 2.3.4

This commit is contained in:
2020-05-03 08:14:07 +02:00
parent 72ddf49e60
commit 35a800ca0e
328 changed files with 9560 additions and 14163 deletions

View File

@@ -89,8 +89,7 @@ $files = $update->getLatestVersion();
$web = $update->getWebVersion();
while (1) {
if ($files != $web) {
if ($web !== null && $files != $web) {
cliOutput(sprintf(
"Thelia server is reporting the current stable release version is %s ",
$web
@@ -103,11 +102,10 @@ while (1) {
$files
), 'info');
if ($files < $web) {
if ($web !== null && $files < $web) {
cliOutput(sprintf(
"Your files belongs to version %s, which is not the latest stable release.",
$web
$files
), 'warning');
cliOutput(sprintf(
"It is recommended to upgrade your files first then run this script again." . PHP_EOL