mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
#19290426 write form에 ipaddress라는 값이 있으면 해당 값을 그대로 사용해서 DB에 저장하는 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8087 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fadefd0964
commit
81fea1f02c
1 changed files with 1 additions and 0 deletions
|
|
@ -134,6 +134,7 @@
|
|||
if($obj->allow_trackback!='Y') $obj->allow_trackback = 'N';
|
||||
if($obj->homepage && !preg_match('/^[a-z]+:\/\//i',$obj->homepage)) $obj->homepage = 'http://'.$obj->homepage;
|
||||
if($obj->notify_message != 'Y') $obj->notify_message = 'N';
|
||||
$obj->ipaddress = $_SERVER['REMOTE_ADDR']; //board에서 form key값으로 ipaddress를 사용하면 엄한 ip가 등록됨. 필터와는 상관없슴
|
||||
|
||||
// $extra_vars를 serialize
|
||||
$obj->extra_vars = serialize($obj->extra_vars);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue