From 3aaf7c832887c778daee46e4dc33338a175cfe2a Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 20 Jan 2018 04:19:03 +0900 Subject: [PATCH] =?UTF-8?q?set.php=20=EB=B3=80=EA=B2=BD=20=EB=A9=94?= =?UTF-8?q?=EC=9D=BC=20=EC=A0=84=EC=86=A1=20=EC=A4=80=EB=B9=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + d_setting/set.php | 10 +++++----- f_func/class._Validation.php | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 1421360c..3cde3ffd 100644 --- a/.gitignore +++ b/.gitignore @@ -118,3 +118,4 @@ set.php config.php sess_* */logs/*.txt +d_setting/set.php \ No newline at end of file diff --git a/d_setting/set.php b/d_setting/set.php index 1cba5893..7627c9db 100644 --- a/d_setting/set.php +++ b/d_setting/set.php @@ -3,9 +3,9 @@ localhost sam_dev letmein sammo -smtp.gmail.com -465 -aser -ewrwer -@gmail.com +localhost +25 +test +lemein +@localhost */ diff --git a/f_func/class._Validation.php b/f_func/class._Validation.php index dbf4e7da..6e919202 100644 --- a/f_func/class._Validation.php +++ b/f_func/class._Validation.php @@ -89,7 +89,7 @@ class _Validation { //if($year < 50) { return 3; } if($month < 1 || $month > 12) { return 3; } if($day < 1 || $day > 31) { return 3; } - if($sex < 1 || $sex > 2) { return 3; } + if($sex < 1 || $sex > 4) { return 3; } return 0; }