...
Excerpt |
---|
|
Making changes to config files that can impact the behavior of Blesta. |
Table of Contents |
---|
Table of Contents |
---|
maxLevel | 5 |
---|
minLevel | 2 |
---|
outline | true |
---|
class | toc |
---|
|
|
/config/blesta.php
The config file at /config/blesta.php is the primary config file for Blesta, and includes database details as well as options that you may wish to change. Below is a common list of options that you may wish to change.
...
Determines the number of days that the cron log should be kept for. Reducing this will result in a smaller database, but less retention.
Blesta.auto_delete_*_logs
Code Block |
---|
|
// Whether or not to delete account access logs according to the cron log retention policy
Configure::set('Blesta.auto_delete_accountaccess_logs', false);
// Whether or not to delete client setting logs according to the cron log retention policy
Configure::set('Blesta.auto_delete_client_setting_logs', false);
// Whether or not to delete contact logs according to the cron log retention policy
Configure::set('Blesta.auto_delete_contact_logs', false);
// Whether or not to delete email logs according to the cron log retention policy
Configure::set('Blesta.auto_delete_email_logs', false);
// Whether or not to delete gateway logs according to the cron log retention policy
Configure::set('Blesta.auto_delete_gateway_logs', true);
// Whether or not to delete module logs according to the cron log retention policy
Configure::set('Blesta.auto_delete_module_logs', true);
// Whether or not to delete service logs according to the cron log retention policy
Configure::set('Blesta.auto_delete_service_logs', false);
// Whether or not to delete transaction logs according to the cron log retention policy
Configure::set('Blesta.auto_delete_transaction_logs', false);
// Whether or not to delete user logs according to the cron log retention policy
Configure::set('Blesta.auto_delete_user_logs', false); |
Determines what kind of logs to automatically delete. Setting any of these to true will cause old logs of the chosen type to be automatically deleted according to the cron log retention policy.
Blesta.reset_password_ttl
Code Block |
---|
|
// Length of time that a reset password request will be valid for
Configure::set('Blesta.reset_password_ttl', '4 hours'); |
...