Skip to content

Only checks the filemtime of the first versioned file in a template #4

Open
@pc-erin

Description

@pc-erin

Calling versioning() on multiple files results in all of the files using the same version id.

This seems to be happening because the filemtime result is being cached in the private property $_buildId.

If you still want to cache lookups, you could use an associative array with the file names as keys instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions