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

change way for retrieving the filename #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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