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
If a comment is written at the very beginning of a file (tried for a css and a js file), then you run into an filesize() error by trying to zip it. The comment is written like /*Comment*/
The text was updated successfully, but these errors were encountered:
It sounds like you're adding the raw file contents directly to the Zip, is that correct?
If so, use the ->addRaw($content, $filename) method instead of the catch-all ->add(...) method. The add method tries to guess what you are adding, and that initial slash makes it look like a path on disk.
If a comment is written at the very beginning of a file (tried for a css and a js file), then you run into an filesize() error by trying to zip it. The comment is written like
/*Comment*/
The text was updated successfully, but these errors were encountered: