We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 832d010 commit bc6a197Copy full SHA for bc6a197
src/controllers/ExportImportController.php
@@ -24,7 +24,8 @@ public function import($entity) {
24
25
$filePath = null;
26
if (Input::hasFile('import_file') && Input::file('import_file')->isValid()) {
27
- $filePath = Input::file('import_file')->getRealPath();
+ $pathTemp = Input::file('import_file')->store('temp');
28
+ $filePath = storage_path('app').'/'.$pathTemp;
29
}
30
31
if ($filePath)
0 commit comments