Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you can't access the ../ folder or the ./ folder glob will return false => and count(false) returns 1 => file counts are incorrect
fns_tinybrowser.php line 438:
$filenum = $filenum + count(glob($root.$tree.$branch.sql_regcase($filetype),GLOB_NOSORT));
fix:
$tmp = glob($root.$tree.$branch.sql_regcase($filetype),GLOB_NOSORT);
$filenum = $filenum + ($tmp?count($tmp):0);
this error returns 4 times
Comments
Comment #1
Reg CreditAttribution: Reg commentedSame as above just slightly clearer at a glance: