1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-04 19:14:41 +00:00

uwuzu v1.4.12 Funium

This commit is contained in:
Daichimarukana
2025-01-12 20:01:08 +09:00
parent 79328e826c
commit a8b9ad0333
119 changed files with 1656 additions and 4598 deletions
+11 -10
View File
@@ -66,13 +66,18 @@ try {
$error_message[] = $e->getMessage();
}
//ログイン認証---------------------------------------------------
blockedIP($_SERVER['REMOTE_ADDR']);
$is_login = uwuzuUserLogin($_SESSION, $_COOKIE, $_SERVER['REMOTE_ADDR'], "user");
if(!($is_login === false)){
header("Location: ../home/");
exit;
}
//-------------------------------------------------------------
if( !empty($_POST['btn_submit']) ) {
//$row['userid'] = "daichimarukn";
$userid = $_POST['userid'];
$mailadds = $_POST['mailadds'];
$userid = safetext($_POST['userid']);
$mailadds = safetext($_POST['mailadds']);
if(!empty(H_CAPTCHA_ONOFF && H_CAPTCHA_ONOFF == "true")){
if(isset($_POST['h-captcha-response'])){
@@ -219,10 +224,6 @@ if( !empty($_POST['btn_submit']) ) {
}
// ... (後略)
}
// データベースの接続を閉じる