mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Warning to be careful with offline patches
This commit is contained in:
parent
97afb02ba6
commit
c69c326bc5
@ -327,6 +327,12 @@ if (is_array($config) === true) {
|
|||||||
) {
|
) {
|
||||||
ui_print_error_message(__('Update manager online requires registration.'));
|
ui_print_error_message(__('Update manager online requires registration.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($mode === Manager::MODE_OFFLINE) {
|
||||||
|
ui_print_warning_message(
|
||||||
|
__('Applying offline patches may make your console unusable, we recommend to completely backup your files before applying any patch.')
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$url_update_manager = $config['url_update_manager'];
|
$url_update_manager = $config['url_update_manager'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user