Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Conversation

@phschmanau
Copy link

I had troubles for retrieving the filename if the assets got compiled and have an additional unique string (e.g. documentation-icon.6fbb6c.svg).
eplode() and $exploded[0] will only save documentation-icon instead of documentation-icon.6fbb6c in this case.

pathinfo($file, PATHINFO_FILENAME) should fix this problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant