Skip to content

Commit

Permalink
Revert "Support alternative matomo bootstrap file (matomo-org#14887)" (
Browse files Browse the repository at this point in the history
…matomo-org#15075)

This reverts commit 5bb2cda.
  • Loading branch information
tsteur authored and diosmosis committed Nov 4, 2019
1 parent 7ba181b commit db4e0f2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions console
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ 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')) {
Expand Down
2 changes: 0 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
}
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);
Expand Down
2 changes: 0 additions & 2 deletions piwik.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
}
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);
Expand Down

0 comments on commit db4e0f2

Please sign in to comment.