Skip to content

MatomoTag loadTemplate piwik fallback looks broken #156

@danimoh

Description

@danimoh

Just by skimming though the code, the following line looks odd:

} elseif (!$tracker) {

The piwik.js fallback in line 157 will never be executed.
Should the elseif rather be a normal if such that this line executes when @file_get_contents(PIWIK_DOCUMENT_ROOT . '/matomo.js') failed?

See #157

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions