Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2377 → Rev 2373

/web/status.php
319,7 → 319,7
$content = file($filename);
fclose($current_users_file);
if (empty($content)) {
file_put_contents($filename, $_SERVER['REMOTE_ADDR'].PHP_EOL);
file_put_contents($filename, $_SERVER['REMOTE_ADDR']);
} else {
$change_me = 1; // avoid duplicate user @IP
// if we found duplicate IP, we will not write user @IP (just set change_me = 0)