1
0
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:
Gabor Hojtsy
2003-08-08 10:17:55 +00:00
parent 4d1093f373
commit c61f1b21f0

View File

@@ -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