Skip to content

Commit 9e0d1cb

Browse files
authored
Merge pull request hestiacp#2 from serghey-rodin/master
Update from master
2 parents fb2cdf6 + 8e29325 commit 9e0d1cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/reset/mail/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
88

9+
// Checking IP of incoming connection, checking is it NAT address
910
//echo '<pre>'; print_r($_SERVER); exit;
1011
$ok=0;
1112
$ip=$_SERVER['REMOTE_ADDR'];
@@ -18,10 +19,8 @@
1819
break;
1920
}
2021
}
21-
//echo '<pre>ip='.$ip."\n".$return_var." = "; print_r($arr); exit;
2222
if ($ip == $_SERVER['SERVER_ADDR']) $ok=1;
2323
if ($ip == '127.0.0.1') $ok=1;
24-
//echo 'ok='.$ok."\n";
2524
if ($ok==0) exit;
2625

2726
//

0 commit comments

Comments
 (0)