Fixed error in um offline oum path to get mrs.

This commit is contained in:
Arturo Gonzalez 2017-03-17 09:02:40 +01:00
parent a9cc5cd593
commit e7b811c39d
4 changed files with 4 additions and 3 deletions

View File

@ -29,7 +29,7 @@ if (is_ajax ()) {
}
else {
if ($offline) {
$dir = $package . "extras/mr";
$dir = $package . "/extras/mr";
}
else {
$dir = sys_get_temp_dir() . "/pandora_oum/" . $package . "/extras/mr";

View File

@ -2691,7 +2691,7 @@ function get_number_of_mr($package, $ent, $offline) {
}
else {
if ($offline) {
$dir = $package . "extras/mr";
$dir = $package . "/extras/mr";
}
else {
$dir = sys_get_temp_dir() . "/pandora_oum/" . $package . "/extras/mr";

View File

@ -1728,7 +1728,7 @@ function db_check_minor_relase_available_to_um ($package, $ent, $offline) {
}
else {
if ($offline) {
$dir = $package . "extras/mr";
$dir = $package . "/extras/mr";
}
else {
$dir = sys_get_temp_dir() . "/pandora_oum/" . $package . "/extras/mr";

View File

@ -212,6 +212,7 @@ function install_package (package, homeurl) {
parameters['search_minor'] = 1;
parameters['package'] = package;
parameters['ent'] = 1;
parameters['offline'] = 1;
$.ajax({
type: 'POST',