Bug #19059 Clarification Requested

directory_map function does not map directories that have the name 0

Version: unknown Reporter: Carlos A.

directory_map does not map directories that have the name 0, just the character ZERO, any others names still OK.

  • In the file directory_helper.php on line 55, just replace

    if ( ! trim($file, ‘.’) OR ($hidden == FALSE && $file[0] == ‘.’) )

    by this:

    if (($directory_depth < 1 OR $new_depth > 0) && @is_dir($source_dir.$file) )

     

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases