Skip to content

Pathinfo-related notices in generateUrl()#128

Merged
lsmith77 merged 1 commit intoliip:masterfrom
thanosp:fix-extension-warning
Dec 22, 2012
Merged

Pathinfo-related notices in generateUrl()#128
lsmith77 merged 1 commit intoliip:masterfrom
thanosp:fix-extension-warning

Conversation

@thanosp
Copy link
Contributor

@thanosp thanosp commented Dec 19, 2012

A file path with no extension or / will throw notices when pushed to the twig imagine_filter.
null or any random alphabetic string like 'test' can be used to test it.
pathinfo() will then return an array with only the basename and filename set.

Php 5.3.10 at least.

lsmith77 added a commit that referenced this pull request Dec 22, 2012
Pathinfo-related notices in generateUrl()
@lsmith77 lsmith77 merged commit e31a364 into liip:master Dec 22, 2012
@thanosp thanosp deleted the fix-extension-warning branch February 12, 2013 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants