Parent Directory
|
Revision Log
Remove redundant PHP closing tag
| 1 | <?php |
| 2 | require_once "../lib/ip_mask.inc.php"; |
| 3 | |
| 4 | function client_addr(int $mask_level = 0) : string |
| 5 | { |
| 6 | $ip = (isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : ""); |
| 7 | |
| 8 | return ip_mask($ip, $mask_level, "%"); |
| 9 | } |
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |