update
parent
9e4ff8cb66
commit
1ebc3a6b35
|
|
@ -146,7 +146,6 @@ class DatasetTambahanController extends Controller
|
||||||
$data = [];
|
$data = [];
|
||||||
$filePath = null;
|
$filePath = null;
|
||||||
if(@$request->file){
|
if(@$request->file){
|
||||||
dd('a');
|
|
||||||
$file = $request->file('file');
|
$file = $request->file('file');
|
||||||
$path = $file->getRealPath();
|
$path = $file->getRealPath();
|
||||||
// $spreadsheet = IOFactory::load($path);
|
// $spreadsheet = IOFactory::load($path);
|
||||||
|
|
@ -175,6 +174,7 @@ class DatasetTambahanController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$filePath = 'dataset/' . $current . '/' . $newFilename;
|
$filePath = 'dataset/' . $current . '/' . $newFilename;
|
||||||
|
dd($filePath);
|
||||||
$uploaded = $file->move($path, $newFilename);
|
$uploaded = $file->move($path, $newFilename);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue