Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

folder named aaa.bbb will show as file #4

Closed
yurenchen000 opened this issue Sep 15, 2016 · 1 comment
Closed

folder named aaa.bbb will show as file #4

yurenchen000 opened this issue Sep 15, 2016 · 1 comment

Comments

@yurenchen000
Copy link
Contributor

if( !$file_ext AND is_dir($file)) $file_ext = "dir";

I fixed this problem by change to:

if( is_dir($file))
    $file_ext = "dir";
else
    $file_ext = getFileExt($file);
@halgatewood
Copy link
Owner

Thank you! I just merged it with master.

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

No branches or pull requests

2 participants