Skip to content

Commit 2ec6ad7

Browse files
committed
upload path need to be set for file sending
1 parent 91c396b commit 2ec6ad7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Http/Controllers/SettingController.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ function Setting(Request $request){
2121

2222
$settings = DB::table('settings')->get()->toArray();
2323

24-
$tmp = [];
24+
$tmp = [
25+
'uploadpath' => '',
26+
];
2527

2628
foreach($settings as $setting){
2729
$tmp[$setting->key] = $setting->value;

0 commit comments

Comments
 (0)