Merge pull request #149 from nakazawakan/backend

ファイルサイズと文字
このコミットが含まれているのは:
chankan77 2021-12-14 16:19:18 +09:00 committed by GitHub
コミット a0c1318932
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
5個のファイルの変更6行の追加6行の削除

ファイルの表示

@ -1,4 +1,4 @@
APP_NAME=KIKIkan
APP_NAME=KIKI
APP_ENV=local
APP_KEY=
APP_DEBUG=true

ファイルの表示

@ -1,4 +1,4 @@
APP_NAME=KIKIkan
APP_NAME=KIKI
APP_ENV=local
APP_KEY=
APP_DEBUG=true

ファイルの表示

@ -43,7 +43,7 @@ class Controller extends BaseController
public function imagesize ($value) {
try {
return strlen($value) < 5242880; // 5 MiB(メビバイト) / 5.24288 MB(メガバイト)
return strlen($value) < 10485760; // 10 MiB(メビバイト) / 10.48576 MB(メガバイト)
} catch (\Throwable $e) {
Log::critical($e->getMessage());
return false;
@ -124,7 +124,7 @@ class Controller extends BaseController
try {
$ok = true;
foreach (json_decode($value) as $v) {
if (strlen(base64_decode($v)) > 5242880) { // 5 MiB(メビバイト) / 5.24288 MB(メガバイト)
if (strlen(base64_decode($v)) > 10485760) { // 10 MiB(メビバイト) / 10.48576 MB(メガバイト)
$ok = false;
}
}

ファイルの表示

@ -16,7 +16,7 @@ class FathersRegistrationTemporaryMail extends Mailable {
}
public function build () {
return $this->subject('【KIKIkan】会員登録のご案内')->markdown('emails.fathers.registration.temporary', [
return $this->subject('【KIKI】会員登録のご案内')->markdown('emails.fathers.registration.temporary', [
'token' => $this->token
]);
}

ファイルの表示

@ -1,5 +1,5 @@
@component('mail::message')
# 【KIKIkan】会員登録のご案内
# 【KIKI】会員登録のご案内
KIKIサービスの会員登録のご案内です。