Skip to content

Commit

Permalink
Merge pull request #38 from matomo-org/matomophpsupport
Browse files Browse the repository at this point in the history
Do not append piwik.php if url contains matomo.php
  • Loading branch information
tsteur committed Oct 12, 2018
2 parents c635dc3 + 4a464bf commit 3b31a63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PiwikTracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -1654,6 +1654,8 @@ protected function getBaseUrl()
}
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';
}
Expand Down

0 comments on commit 3b31a63

Please sign in to comment.