Commad line upgrade enhancements (#6955)

* Add new English language phrases for cli upgrade menu

* include a software name as a const for cli upgrade menu

* add it repos in app folder, internationalizations, and descriptions

* bug fix when response_source_update is empty change back to origin dir

* change original 'menu' to 'menus'. Allow calling menu from upgrade.php

* Update upgrade_menu.php
This commit is contained in:
frytimo
2024-04-22 20:15:09 -03:00
committed by GitHub
parent 4e8f60cb92
commit 33ff85ee75
4 changed files with 207 additions and 21 deletions
+6 -3
View File
@@ -151,8 +151,11 @@
}
}
//show the upgrade type
//echo $upgrade_type."\n";
//check for upgrade menu option first
if ($upgrade_type == 'menu') {
require __DIR__ . '/upgrade_menu.php';
exit();
}
//get the version of the software
if ($upgrade_type == 'version') {
@@ -180,7 +183,7 @@
}
//restore the default menu
if ($upgrade_type == 'menu') {
if ($upgrade_type == 'menus') {
//get the menu uuid and language
$sql = "select menu_uuid, menu_language from v_menus ";