Revision | b2f9f5f0eb7058210487264dd039983d215b6349 (tree) |
---|---|
Zeit | 2021-12-11 15:13:38 |
Autor | umorigu <umorigu@gmai...> |
Commiter | umorigu |
BugTrack/2178 counter plugin: Ignore REMOTE_ADDR
* 0: FALSE (default)
* 1: TRUE (Ignore REMOTE_ADDR environment variable)
@@ -10,8 +10,8 @@ | ||
10 | 10 | |
11 | 11 | // Counter file's suffix |
12 | 12 | define('PLUGIN_COUNTER_SUFFIX', '.count'); |
13 | -// Ignore REMOTE_ADDR : TRUE for reverse proxy / load balancer environment | |
14 | -define('PLUGIN_COUNTER_IGNORE_REMOTE_ADDR', FALSE); | |
13 | +// Ignore REMOTE_ADDR : FALSE(0) or TRUE(1) for reverse proxy / load balancer environment | |
14 | +define('PLUGIN_COUNTER_IGNORE_REMOTE_ADDR', 0); | |
15 | 15 | // Use Database (1) or not (0) |
16 | 16 | define('PLUGIN_COUNTER_USE_DB', 0); |
17 | 17 | // Database Connection setting |