Date: Fri, 29 Mar 2024 09:48:34 -0400 (EDT) Message-ID: <684238917.5115.1711720114595@docs.blesta.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_5114_177557018.1711720114594" ------=_Part_5114_177557018.1711720114594 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Table of Contents |
---|
The config file at /config/blesta.php is the primary config file for Ble= sta, 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.
// Number of s= ticky notes to show before viewing more Configure::set('Blesta.sticky_notes_to_show', 2);
Determines the number of sticky notes to display at the top of a client = profile page before you have to click to show more.
// Number of d= ays in the past to retain cron logs Configure::set('Blesta.cron_log_retention_days', 10);
Determines the number of days that the cron log should be kept for. Redu= cing this will result in a smaller database, but less retention.
// Whether or = not to delete account access logs according to the cron log retention polic= y Configure::set('Blesta.auto_delete_accountaccess_logs', false); // Whether or not to delete client setting logs according to the cron log r= etention policy Configure::set('Blesta.auto_delete_client_setting_logs', false); // Whether or not to delete contact logs according to the cron log retentio= n 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 retentio= n 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 retentio= n policy Configure::set('Blesta.auto_delete_service_logs', false); // Whether or not to delete transaction logs according to the cron log rete= ntion policy Configure::set('Blesta.auto_delete_transaction_logs', false); // Whether or not to delete user logs according to the cron log retention p= olicy 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.
// Length of t= ime that a reset password request will be valid for Configure::set('Blesta.reset_password_ttl', '4 hours');
Determines the length of time that a password reset email link will be v= alid for. The link will expire after this time and must be re-requested.
// Default pas= sword reset value. Set to true for improved security, false for more accura= te error reporting Configure::set('Blesta.default_password_reset_value', true);
When users reset their password, the following message is returned regar= dless if there was a match on the username:
A confirmation email has been sen= t to the address on record.
Changing the value of the above setting from true = to false will result in a different message when ther= e is no match on the username.
That username is not recognized o= r the password is not capable of being reset.