• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoawindowspythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdombtronvb.netdirectxarduinopreviewerゲームエンジン

Commit MetaInfo

Revisiónb2f9f5f0eb7058210487264dd039983d215b6349 (tree)
Tiempo2021-12-11 15:13:38
Autorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack/2178 counter plugin: Ignore REMOTE_ADDR

define('PLUGIN_COUNTER_IGNORE_REMOTE_ADDR', 0);

* 0: FALSE (default)
* 1: TRUE (Ignore REMOTE_ADDR environment variable)

Cambiar Resumen

Diferencia incremental

--- a/plugin/counter.inc.php
+++ b/plugin/counter.inc.php
@@ -10,8 +10,8 @@
1010
1111 // Counter file's suffix
1212 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);
1515 // Use Database (1) or not (0)
1616 define('PLUGIN_COUNTER_USE_DB', 0);
1717 // Database Connection setting