general table의 no_member를 의미에 더 맞도록 owner로 변경.

general table의 user_id, password column 삭제. 코드도 이를 참조하지 않고 owner를 이용하도록 변경
This commit is contained in:
2018-02-04 04:40:35 +09:00
parent e42643d439
commit 5ed33b1cda
89 changed files with 421 additions and 391 deletions
+2 -1
View File
@@ -13,7 +13,6 @@ $id = $_POST['id'];
$pw = $_POST['pw'];
$conmsg = $_POST['conmsg'];
$_SESSION['conmsg'] = $conmsg;//XXX: conmsg를 처리할 더 적절한 장소는?
$id = _String::NoSpecialCharacter($id);
$pw = substr($pw, 0, 32);
@@ -34,6 +33,8 @@ if($DB->Count($rs) == 1) {
$SESSION->Login($member['NO'], $id);
$DB->Update('MEMBER', "CONMSG='{$conmsg}', IP='{$_SERVER['REMOTE_ADDR']}'", "NO='{$member['NO']}'");
$_SESSION['conmsg'] = $conmsg;//XXX: conmsg를 처리할 더 적절한 장소는?
$response['result'] = 'SUCCESS';
} else {
$response['result'] = 'FAIL';