Skip to content

Thumbs folder issue on MS Windows #18

@srdjanpejic

Description

@srdjanpejic

I have a problem with thumbs folder since it's listed along with images.
I saw in the code that this folder shouldn't be listed, but it's.

public function getDirectories($path)
    {
        $thumb_folder_name = Config::get('lfm.thumb_folder_name');
        $all_directories = File::directories(base_path($path));

        $arr_dir = [];

        foreach ($all_directories as $directory) {
            $dir_name = $this->getFileName($directory);

            if ($dir_name !== $thumb_folder_name) {
                $arr_dir[] = $dir_name;
            }
        }

        return $arr_dir;
    }

screenshot_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    WIPWorking in progress.bugBehaviors that do not meet expectation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions