Changeset 566 for branches/1.1dev/config
- Timestamp:
- Oct 28, 2016 12:03:20 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/config/defaults.inc.php
r348 r566 5 5 6 6 /* 7 * This file contains global configration variables that apply to the underlying 7 * This file contains global configration variables that apply to the underlying 8 8 * codebase framework. These values can be overwritten in a site-specific config 9 9 * file to customize values for a specific site. … … 22 22 23 23 // The level of error reporting. Don't set this to 0 to suppress messages, use display_errors to control display. 24 error_reporting(E_ALL ^ E_NOTICE); 24 setDefault($CFG->error_reporting, E_ALL & ~E_NOTICE & ~E_STRICT); 25 error_reporting($CFG->error_reporting); 25 26 26 27 // Location to store log files. … … 82 83 setDefault($CFG->login_timeout, 21600); 83 84 84 // The maximum amount of time a user is allowed to be idle before 85 // The maximum amount of time a user is allowed to be idle before 85 86 // their session expires. They will be forced to login again if they expire. 86 87 // This applies to admins and users. In seconds. … … 91 92 * ACCOUNT ABUSE SETTINGS 92 93 *****************************************************************************/ 93 94 94 95 // The period of time to compare login abuse attempts. If a threshold of 95 96 // logins is reached in this amount of time the account is blocked. … … 101 102 $CFG->login_abuse_warnings = 3; 102 103 103 // The maximum number of IP addresses a user can login with over the 104 // The maximum number of IP addresses a user can login with over the 104 105 // timeout period before their account is blocked. 105 106 $CFG->login_abuse_max_ips = 5; 106 107 107 // The IP address subnet size threshold. Uses a CIDR notation 108 // The IP address subnet size threshold. Uses a CIDR notation 108 109 // network mask. Any integar between 0 and 32 is permitted. Setting this 109 110 // to '24' permits any address in a class C network (255.255.255.0) … … 140 141 } 141 142 142 // The maximum byte size that the session cache will hold. 143 // The maximum byte size that the session cache will hold. 143 144 // Used in SessionCache.inc.php 144 145 define('SESSION_CACHE_SIZE_BYTES', 204800); // 200 Kilobytes.
Note: See TracChangeset
for help on using the changeset viewer.