You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,10 @@ $fullName = $file->name(); # full file name in zip, including path
43
43
```
44
44
45
45
###### get($file, $output = false):
46
-
Returns, or outputs the file fetched from the remote ZIP
46
+
Returns, or outputs the file fetched from the remote ZIP.
47
+
48
+
**Note**: You should ensure no content is outputted before running ```->get($file, true)``` as this will cause the file download to contain invalid data.
49
+
*Hint*: put ```ob_start()``` at the start of your script, then run ```ob_clean()``` before calling get.
0 commit comments