forked from klaubert/waf-fle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php.example
37 lines (28 loc) · 1.08 KB
/
config.php.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?PHP
/** WAF-FLE configuration file
* Define the database parameters, cache and session timeout
*
*/
$DB_HOST = "localhost";
$DB_USER = "waffle_user";
$DB_PASS = "<FILL_User_Password>";
$DATABASE = "waffle";
// To enable full events compression in database use 'TRUE', to disable compression use 'FALSE'
$COMPRESSION = true;
// Define the performance timing presentation, set 'mili' for miliseconds (1/1000 seconds), or 'micro' for microseconds (1/1000000 seconds).
$timePreference = 'mili';
// To enable APC cache use 'TRUE', to disable APC cache use 'FALSE'
$APC_ON = true;
// Max events in events list
$max_event_number = "25";
// CACHE_TIMEOUT=30; // This is used to make data cache of frequent used data
$CACHE_TIMEOUT = 30;
$SESSION_TIMEOUT = 600;
// Debug enable/disable
$DEBUG = false;
// Enable setup to initial run of WAF-FLE, it check prerequisite and configure database schema. Upgrade of version and database can be available too.
// While this is enable, no event is received or view.
$SETUP = true;
// Probably you will not need to change nothing after this point
//
?>