function drupal_commons_config_vars in Drupal Commons 6
Same name and namespace in other branches
- 6.2 drupal_commons.profile \drupal_commons_config_vars()
Configure variables
These should be set but not enforced by Strongarm
1 string reference to 'drupal_commons_config_vars'
- drupal_commons_profile_tasks in ./
drupal_commons.profile - Perform any final installation tasks for this profile.
File
- ./
drupal_commons.profile, line 445
Code
function drupal_commons_config_vars() {
// Show large amount of tags on tag cloud page
variable_set('tagadelic_page_amount', 500);
// Preprocess JS and CSS files
variable_set('preprocess_css', 1);
variable_set('preprocess_js', 1);
// Keep errors in the log and off the screen
variable_set('error_level', 0);
// Don't restrict user profile image upload size
variable_set('user_picture_file_size', '');
// Set user terms to use the "tags" vocabulary we created
$vid = variable_get('commons_tags_vid', 1);
variable_set('user_terms_vocabs', array(
$vid => $vid,
));
}