Fixed error in um offline oum path to get mrs.
This commit is contained in:
parent
a9cc5cd593
commit
e7b811c39d
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue