forked from ToX82/logHappens
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.php
More file actions
28 lines (26 loc) · 775 Bytes
/
config.php
File metadata and controls
28 lines (26 loc) · 775 Bytes
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
<?php
/*
* Color themes.
* Please set your favorite colors here.
* The "default" color is what you will see normally, while the "notice" color will show up for a few seconds when a log occours.
* http://materializecss.com/color.html#palette
*/
$colors = [
"default" => "indigo",
"notice" => "red"
];
/*
* Display values.
*/
$pagelength = 10; // How many entries will show up in a log page.
/**
* others
*/
// interval between ajax requests, in milliseconds
$interval = 30 * 1000;
// access the site with this parameter for security and privacy
$token = 'mytoken';
// ip scope which are allowed to access this site
$ipwhitelists = ['127.0.0.1', '192.168.99.1', '123.56.24.0/22'];
// load the static files(js/css/fonts) from local, not cdn
$local_static = 1;