Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

fix checking file path for empty type (for thumbnails to work) #141

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Eccenux
Copy link

@Eccenux Eccenux commented Apr 27, 2016

Types config to reproduce problem:

    'types' => array(
        ''  =>  "*img",
    ),

With this config (at least on Windows) thumbnails will not appear in browser. This is because checkFilePath will fail due to difference in trailing / in $rPath vs $this->typeDir.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant