mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Only report local stats if it is set to 1, for those who think that the
local stats env var is only a flag...
This commit is contained in:
@@ -21,7 +21,7 @@ if (!isset($htsearch_prog)) {
|
||||
}
|
||||
|
||||
// Provide information on local stats setup
|
||||
if (isset($_SERVER['MIRROR_STATS'])) {
|
||||
if (isset($_SERVER['MIRROR_STATS']) && $_SERVER['MIRROR_STATS'] == '1') {
|
||||
$mirror_stats = 1; // Yes
|
||||
} else {
|
||||
$mirror_stats = 2; // Don't know
|
||||
|
||||
Reference in New Issue
Block a user