Merged in marcoAntonioNina/processmaker/PM-723 (pull request #1037)

PM-723 error 404 al importar licencia enterprise SOLVED
This commit is contained in:
Julio Cesar Laura Avendaño
2014-10-23 14:24:52 -04:00
4 changed files with 69 additions and 228 deletions

View File

@@ -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;
}

View File

@@ -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;

View File

@@ -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