Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2019-09-16 14:15:59 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-09-16 14:15:59 +0300
commit5bb2cdaab831831f0e927de7857937230ca15b30 (patch)
treecd25cf109bc645b62d496e5c11b8177018e939e7 /index.php
parenteb135d879a64ecbd33554dd51b5788f8065e037d (diff)
Support alternative matomo bootstrap file (#14887)
* support configuration of a matomo bootstrap file * load matomo bootstrap only as fallback
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 8e3b2cb64a..184a785f81 100644
--- a/index.php
+++ b/index.php
@@ -13,6 +13,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);