retreive real client IP
This commit is contained in:
parent
c5e5e02639
commit
d43407bb6a
@ -151,8 +151,9 @@ def version():
|
|||||||
|
|
||||||
f = open(DIR + "installs.log", "a")
|
f = open(DIR + "installs.log", "a")
|
||||||
f.write(
|
f.write(
|
||||||
"%s\t%s\t%s\t%s\t%s\n"
|
"%s\%s\t%s\t%s\t%s\t%s\n"
|
||||||
% (
|
% (
|
||||||
|
request.environ,
|
||||||
time.strftime("%Y-%m-%d %H:%M:%S"),
|
time.strftime("%Y-%m-%d %H:%M:%S"),
|
||||||
remote_addr,
|
remote_addr,
|
||||||
svn or commit or release or "-",
|
svn or commit or release or "-",
|
||||||
|
Loading…
Reference in New Issue
Block a user