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

uwuzu v1.4.11 Funium

This commit is contained in:
Daichimarukana
2024-12-29 17:21:14 +09:00
parent b6069366d1
commit 79328e826c
49 changed files with 648 additions and 717 deletions
+3 -3
View File
@@ -1,10 +1,8 @@
<?php
require("../function/function.php");
header("Content-Type: application/json");
header("charset=utf-8");
header("Content-Type: application/json; charset=utf-8");
header("Access-Control-Allow-Origin: *");
function random_iv($length = 16){
return substr(str_shuffle('1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'), 0, $length);
}
@@ -60,6 +58,7 @@ if(isset($_GET['migration_code'])) {
$res = $pdo->commit();
} catch(Exception $e) {
$pdo->rollBack();
actionLog($account, "error", "migration-api", null, $e, 4);
}
$newrole = "ice";
$newtoken = "ice";
@@ -87,6 +86,7 @@ if(isset($_GET['migration_code'])) {
// エラーが発生した時はロールバック
$pdo->rollBack();
actionLog($account, "error", "migration-api", null, $e, 4);
}
//メール送信はナシ
//------------