update
parent
84f4f8d453
commit
63cbe19971
|
|
@ -154,7 +154,7 @@ class DatasetTambahanController extends Controller
|
||||||
// $header = $rows[4]; // Baris pertama sebagai header
|
// $header = $rows[4]; // Baris pertama sebagai header
|
||||||
if (@$request->hasFile('file')) {
|
if (@$request->hasFile('file')) {
|
||||||
$file = $request->file('file');
|
$file = $request->file('file');
|
||||||
dd($file);
|
dd($file);
|
||||||
$destinationPath = public_path('uploads/dataset');
|
$destinationPath = public_path('uploads/dataset');
|
||||||
$current = Carbon::now()->format('Y/m/d');
|
$current = Carbon::now()->format('Y/m/d');
|
||||||
$path = $destinationPath . '/' . $current;
|
$path = $destinationPath . '/' . $current;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue