Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
webprofile-jwg2024
Commits
ce80aac5
Commit
ce80aac5
authored
Oct 03, 2022
by
Bagus Pambudi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.unesa.ac.id/bagus/webprofile-singlesite-5bahasa
parents
524c2ac6
327c1c0e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/Http/Controllers/Webprofile/Backend/FileController.php
+2
-2
No files found.
app/Http/Controllers/Webprofile/Backend/FileController.php
View file @
ce80aac5
...
...
@@ -117,12 +117,12 @@ class FileController extends Controller
$request
->
validate
([
'categories_file'
=>
'required'
,
'title'
=>
'required'
,
'file'
=>
'
required|
mimes:jpg,jpeg,png,doc,docx,pdf,xlsx,mp3,mp4,mkv,mpeg|max : 5120'
'file'
=>
'mimes:jpg,jpeg,png,doc,docx,pdf,xlsx,mp3,mp4,mkv,mpeg|max : 5120'
],
[
'categories_file.required'
=>
'Kategori dokumen wajib diisi'
,
'title.required'
=>
'Nama dokumen wajib diisi'
,
// 'title.max' => 'Nama dokumen terlalu panjang',
'file.required'
=>
'File wajib diupload'
,
//
'file.required' => 'File wajib diupload',
'file.mimes'
=>
'File yang diupload harus berupa jpg, jpeg, png, doc, docx, pdf, xlsx, mp3, mp4, mkv, atau mpeg'
,
'file.max'
=>
'Ukuran gambar maksimal 5 MB'
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment