Skip to content
Snippets Groups Projects
Unverified Commit 3b31a636 authored by Thomas Steur's avatar Thomas Steur Committed by GitHub
Browse files

Merge pull request #38 from matomo-org/matomophpsupport

Do not append piwik.php if url contains matomo.php
parents c635dc3b 4a464bf8
Branches
No related merge requests found
......@@ -1654,6 +1654,8 @@ class PiwikTracker
}
if (strpos(self::$URL, '/piwik.php') === false
&& strpos(self::$URL, '/proxy-piwik.php') === false
&& strpos(self::$URL, '/matomo.php') === false
&& strpos(self::$URL, '/proxy-matomo.php') === false
) {
self::$URL .= '/piwik.php';
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment