always enable history logging for calendar, addressbook and infolog

This commit is contained in:
Ralf Becker 2010-06-16 08:57:40 +00:00
parent 85329717ee
commit ab9e549d38

View File

@ -258,6 +258,18 @@ class setup_process
}
// always enable spellchecker, ckeditor now uses spell-as-you-type via a public webservice
$current_config['enabled_spellcheck'] = 'True';
// always enable history logging for calendar, addressbook and infolog
$current_config['history'] = 'history'; // addressbook: only admin
$current_config['calendar_delete_history'] = 'history'; // only admins
// infolog does NOT use config_app='phpgwapi', but 'infolog'
$GLOBALS['egw_setup']->db->insert($GLOBALS['egw_setup']->config_table,array(
'config_value' => 'history_admin_delete', // only admins
),array(
'config_app' => 'infolog',
'config_name' => 'history',
),__FILE__,__LINE__);
// RalfBecker: php.net recommend this for security reasons, it should be our default too
$current_config['usecookies'] = 'True';