BUG 12213 "Adicionar soporte para hotfixes" SOLVED
- Nuevo feature
- Funcionalidad para la instalacion de hotfixes
- Nuevo feature implementado, se ha adicionado una nueva opcion al comando ./processmaker
Esta nueva opcion trabaja de la siguiente manera:
Caso 1 - ./processmaker hotfix-install MyHotfix.tar
Caso 2 - ./processmaker hotfix-install path_to_hotfix/MyHotfix.tar
Para el caso 1, el archivo tar debe estar fisicamente en la ruta:
path_to_processmaker/shared/hotfixes (si no existe el directorio "hotfixes", crearlo y darle todos los permisos)
Para el caso 2, el archivo debe existir en la ruta que se especifica
* Available from version ProcessMaker-2.5.1-testing.3
This commit is contained in:
@@ -1332,7 +1332,7 @@ class workspaceTools
|
||||
|
||||
if ($arrayPathInfo["extension"] != "tar") {
|
||||
$swv = 0;
|
||||
$msgv = $msgv . (($msgv != "")? "\n": null) . "- The file's extension \"$file\" no is \"tar\"";
|
||||
$msgv = $msgv . (($msgv != "")? "\n": null) . "- The file extension \"$file\" is not \"tar\"";
|
||||
}
|
||||
|
||||
if ($swv == 1) {
|
||||
@@ -1345,7 +1345,7 @@ class workspaceTools
|
||||
|
||||
if ($swTar) {
|
||||
$result["status"] = 1;
|
||||
$result["message"] = "- Successfully to install hotfix \"$f\"";
|
||||
$result["message"] = "- Hotfix installed successfully \"$f\"";
|
||||
} else {
|
||||
$result["status"] = 0;
|
||||
$result["message"] = "- Could not extract file \"$f\"";
|
||||
|
||||
Reference in New Issue
Block a user