Skip to content

Commit 097a812

Browse files
authored
Update session.php
1 parent c83daba commit 097a812

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

trunk/web/session.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<?php
1414
}
1515
}
16-
// $OJ_LIP_URL="http://192.168.2.36/lip.php";
16+
// $OJ_LIP_URL="http://192.168.2.36/lip.php"; //如果希望穿透NAT网络,识别用户的内网IP地址,可以在内网部署一个LIP服务,用内网的lip.php向公网服务器传递用户的内网IP。
1717
if (!empty($OJ_LIP_URL)){
1818
if(isset($_GET['lip'])){
1919
$lip=intval($_GET['lip']);
@@ -23,5 +23,4 @@
2323
}
2424
}
2525
?>
26-
27-
<script>window.setTimeout('window.location.reload();',300000);</script>
26+
<script>window.setTimeout('window.location.reload();',300000);</script>

0 commit comments

Comments
 (0)