Skip to content

Add URL_STRIP_EXTENSION constant

Compare
Choose a tag to compare
@Xenthys Xenthys released this 02 Apr 22:12
· 14 commits to master since this release
05ed010

This small update allows users to remove the file extension from the resulting URL, as requested in issue #2. This is useful for using a rewrite rule in order to automatically find the corresponding file.

Be careful, as the filename generator only checks against existing files of the same extension. It is therefore possible to have two files with the exact same name, as long as they have a different extension.