PM-723 error 404 al importar licencia enterprise SOLVED

- no se carga un archivo dando error 404.
- el archivo ya no existe ahora redireciona al archivo correcto.
This commit is contained in:
Marco Antonio Nina
2014-10-23 12:31:40 -04:00
parent b9edbad86e
commit 541aa402e8
3 changed files with 72 additions and 220 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

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