update max upload file size to 10mb

This commit is contained in:
Jack Goh
2018-07-30 14:48:48 +08:00
parent 1d3b8c2af7
commit cc2539d44c
3 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -403,7 +403,7 @@ class BookingController extends Controller
}
$validator = Validator::make($request->all(), [
'file' => 'max:3072'
'file' => 'max:10000' // image size
]);
if($validator->fails())
@@ -497,7 +497,7 @@ class BookingController extends Controller
}
$validator = Validator::make($request->all(), [
'file' => 'max:3072'
'file' => 'max:10000'
]);
if($validator->fails())
@@ -767,7 +767,7 @@ class BookingController extends Controller
}
$validator = Validator::make($request->all(), [
'invoice_path' => 'max:3072'
'invoice_path' => 'max:10000'
]);
if($validator->fails())