main
Ilham Wara Nugroho 2026-03-26 11:27:25 +07:00
parent 9e4ff8cb66
commit 1ebc3a6b35
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,6 @@ class DatasetTambahanController extends Controller
$data = [];
$filePath = null;
if(@$request->file){
dd('a');
$file = $request->file('file');
$path = $file->getRealPath();
// $spreadsheet = IOFactory::load($path);
@ -175,6 +174,7 @@ class DatasetTambahanController extends Controller
}
$filePath = 'dataset/' . $current . '/' . $newFilename;
dd($filePath);
$uploaded = $file->move($path, $newFilename);