Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Commit 38910ee

Browse files
committed
Синхронизация с laravel/laravel.
1 parent 307913f commit 38910ee

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

config/session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
|
162162
*/
163163

164-
'secure' => false,
164+
'secure' => env('SESSION_SECURE_COOKIE', false),
165165

166166
/*
167167
|--------------------------------------------------------------------------

resources/lang/en/validation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
'array' => 'The :attribute may not have more than :max items.',
5454
],
5555
'mimes' => 'The :attribute must be a file of type: :values.',
56+
'mimetypes' => 'The :attribute must be a file of type: :values.',
5657
'min' => [
5758
'numeric' => 'The :attribute must be at least :min.',
5859
'file' => 'The :attribute must be at least :min kilobytes.',
@@ -80,6 +81,7 @@
8081
'string' => 'The :attribute must be a string.',
8182
'timezone' => 'The :attribute must be a valid zone.',
8283
'unique' => 'The :attribute has already been taken.',
84+
'uploaded' => 'The :attribute failed to upload.',
8385
'url' => 'The :attribute format is invalid.',
8486

8587
/*

resources/lang/ru/validation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
'array' => 'Количество элементов в поле :attribute не может превышать :max.',
5555
],
5656
'mimes' => 'Поле :attribute должно быть файлом одного из следующих типов: :values.',
57+
'mimetypes' => 'Поле :attribute должно быть файлом одного из следующих типов: :values.',
5758
'min' => [
5859
'numeric' => 'Поле :attribute должно быть не менее :min.',
5960
'file' => 'Размер файла в поле :attribute должен быть не менее :min Килобайт(а).',
@@ -81,6 +82,7 @@
8182
'string' => 'Поле :attribute должно быть строкой.',
8283
'timezone' => 'Поле :attribute должно быть действительным часовым поясом.',
8384
'unique' => 'Такое значение поля :attribute уже существует.',
85+
'uploaded' => 'Не удалось загрузить файл :attribute.',
8486
'url' => 'Поле :attribute имеет ошибочный формат.',
8587

8688
/*

0 commit comments

Comments
 (0)