update
This commit is contained in:
parent
f3ddec4436
commit
b551f1a13c
|
@ -60,7 +60,10 @@ if (users_is_admin()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$action_update_url_update_manager) {
|
if (!$action_update_url_update_manager) {
|
||||||
$url_update_manager = get_parameter('url_update_manager', $config['url_update_manager']);
|
$url_update_manager = get_parameter(
|
||||||
|
'url_update_manager',
|
||||||
|
$config['url_update_manager']
|
||||||
|
);
|
||||||
$update_manager_proxy_server = get_parameter(
|
$update_manager_proxy_server = get_parameter(
|
||||||
'update_manager_proxy_server',
|
'update_manager_proxy_server',
|
||||||
$config['update_manager_proxy_server']
|
$config['update_manager_proxy_server']
|
||||||
|
@ -162,7 +165,7 @@ if (!$action_update_url_update_manager) {
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$result = config_update_value(
|
$result = config_update_value(
|
||||||
'update_manager_proxy_password',
|
'update_manager_proxy_password',
|
||||||
$update_manager_proxy_password
|
io_input_password($update_manager_proxy_password)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -151,12 +151,6 @@ function config_update_config()
|
||||||
$sec2 = get_parameter('sec2');
|
$sec2 = get_parameter('sec2');
|
||||||
|
|
||||||
switch ($sec2) {
|
switch ($sec2) {
|
||||||
case 'godmode/update_manager/update_manager':
|
|
||||||
if (!config_update_value('update_manager_proxy_password', io_input_password((string) get_parameter('update_manager_proxy_password', $config['update_manager_proxy_password'])))) {
|
|
||||||
$error_update[] = __('update manager');
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'godmode/setup/setup':
|
case 'godmode/setup/setup':
|
||||||
$section_setup = get_parameter('section');
|
$section_setup = get_parameter('section');
|
||||||
// MAIN SETUP.
|
// MAIN SETUP.
|
||||||
|
|
Loading…
Reference in New Issue