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
path: root/js
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-10-13 06:21:24 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-10-13 06:21:24 +0400
commit9f4ba4eea6c85a92b87fbad6f0556ee5d8551762 (patch)
tree0225fe694c5d6b15ca9ba9d528e16f03ce4249bd /js
parentc87dc623acf264d7559991cfc66cefa85bba4f1f (diff)
refs #5940 moved files into a subfolder framework, added autoloader to remove duplicated code to load autoload.php and to be able to register more autoloaders (eg for test files) on demand. This I got read of many includes that had to be updated all the time and that had to be updated all the time when moving iles
Diffstat (limited to 'js')
-rw-r--r--js/tracker.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/tracker.php b/js/tracker.php
index a8d768e6bc..ac85498cb9 100644
--- a/js/tracker.php
+++ b/js/tracker.php
@@ -27,7 +27,8 @@ define('PIWIK_DOCUMENT_ROOT', '..');
define('PIWIK_USER_PATH', '..');
require_once PIWIK_INCLUDE_PATH . '/libs/upgradephp/upgrade.php';
-require_once PIWIK_INCLUDE_PATH . '/vendor/autoload.php';
+require_once PIWIK_INCLUDE_PATH . '/core/Loader.php';
+\Piwik\Loader::init();
$file = '../piwik.js';