function uc_file_feature_settings_submit in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_file/uc_file.module \uc_file_feature_settings_submit()
- 7.3 uc_file/uc_file.module \uc_file_feature_settings_submit()
File
- uc_file/
uc_file.module, line 546 - Allows products to be associated with downloadable files.
Code
function uc_file_feature_settings_submit($form_id, $form_values) {
$action = empty($form_values['uc_file_base_dir']) ? 'empty' : 'insert';
_file_table_action($action);
_file_table_action('refresh');
$proxies = variable_get('uc_file_reverse_proxy_addresses', '');
variable_set('uc_file_reverse_proxy_addresses', explode("\n", $proxies));
}