directory_map() can not see files/directories named "0" #1757

Closed
pacers82 opened this Issue Sep 1, 2012 · 3 comments

Projects

None yet

4 participants

@pacers82
pacers82 commented Sep 1, 2012

I am trying to get the map of a directory structure with directory_map(), but if there is any file with the name "0" (zero), it does not shown in the result array.

@BennyC
BennyC commented Sep 2, 2012

Believe I've done this wrong (first attempt at a pull request!), I sent a pull request for this. Please ignore this if it is intentional behaviour. I may be wrong, but 0 is a valid filename?

@pickupman
Contributor

@BennyC
If you add a commit with the # sign followed by the issue number (#___). The commit/pull request will automatically show up in this issue. When you send the pull request, it will create a new issue. I am the dev's would appreciate if you would leave a comment on this thread about the related pull request issue number, so they can close them both. Also, they mentioned to me that they do not get notifications of pull requests, so please leave a comment so they will get notified.

@BennyC
BennyC commented Sep 3, 2012

Thanks for getting back to me @pickupman on that! The pull request issue number is #1758. I'll also leave a comment on the pull request to leave a notification for the devs. Cheers for that.

@narfbg narfbg closed this in 8280885 Sep 14, 2012
@nonchip nonchip pushed a commit to nonchip/CodeIgniter that referenced this issue Jun 29, 2013
@vlakoff vlakoff directory_map() was skipping files and directories named "0"
Close #1757. Thanks @BennyC!
b31ba24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment