Skip to content

Undefined constant "GLOB_BRACE" #1

@gerandonk

Description

@gerandonk

Undefined constant "GLOB_BRACE" if using docker with alpine linux.
please change line 33 to make it work for GNU and non GNU systems.
from : $templateCacheFiles = glob($templateCacheDir . '/.{json,temp}', GLOB_BRACE);
to : $templateCacheFiles = glob($templateCacheDir . '/
.{json,temp}', (defined('GLOB_BRACE') ? GLOB_BRACE | GLOB_ONLYDIR : GLOB_ONLYDIR));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions