diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-09-16 14:15:59 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-09-16 14:15:59 +0300 |
commit | 5bb2cdaab831831f0e927de7857937230ca15b30 (patch) | |
tree | cd25cf109bc645b62d496e5c11b8177018e939e7 /piwik.php | |
parent | eb135d879a64ecbd33554dd51b5788f8065e037d (diff) |
Support alternative matomo bootstrap file (#14887)
* support configuration of a matomo bootstrap file
* load matomo bootstrap only as fallback
Diffstat (limited to 'piwik.php')
-rw-r--r-- | piwik.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -24,6 +24,8 @@ if (!defined('PIWIK_DOCUMENT_ROOT')) { } if (file_exists(PIWIK_DOCUMENT_ROOT . '/bootstrap.php')) { require_once PIWIK_DOCUMENT_ROOT . '/bootstrap.php'; +} elseif (file_exists(PIWIK_DOCUMENT_ROOT . '/../matomo_bootstrap.php')) { + require_once PIWIK_DOCUMENT_ROOT . '/../matomo_bootstrap.php'; } if (!defined('PIWIK_INCLUDE_PATH')) { define('PIWIK_INCLUDE_PATH', PIWIK_DOCUMENT_ROOT); |