Merged in marcoAntonioNina/processmaker/PM-723 (pull request #1037)
PM-723 error 404 al importar licencia enterprise SOLVED
This commit is contained in:
@@ -371,7 +371,7 @@ class pmLicenseManager
|
||||
$oServerConf->setProperty ( 'ACTIVE_LICENSE',array(SYS_SYS => $path));
|
||||
$this->saveDataLicense( $results, $path, $redirect );
|
||||
if ($redirect) {
|
||||
G::Header ( 'location: licenseManagerList' );
|
||||
G::Header ( 'location: ../enterprise/addonsStore' );
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -125,14 +125,6 @@ try {
|
||||
}
|
||||
|
||||
file_put_contents(PATH_DATA_SITE . "plugin.singleton", $pluginRegistry->serializeInstance());
|
||||
|
||||
///////
|
||||
$message = "A license has been correctly installed. Please login again to apply the changes";
|
||||
G::SendMessageText($message, "INFO");
|
||||
$_SESSION["___PMEE_INSTALLED_LIC___"] = $message;
|
||||
|
||||
//G::header("location: ../enterprise/pluginsList"); //ok
|
||||
//exit(0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -286,6 +286,8 @@ switch ($option) {
|
||||
break;
|
||||
case "list":
|
||||
$status = 1;
|
||||
$response = new stdclass();
|
||||
$response->status = 'OK';
|
||||
try {
|
||||
if (EnterpriseUtils::getInternetConnection() == 0) {
|
||||
throw (new Exception("Enterprise Plugins Manager no connected to internet."));
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user