From bf7471e58f9195a353f87288ada38f088dfbcd42 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Tue, 9 Jan 2018 17:58:03 +0100 Subject: [PATCH] Piwik -> Matomo --- README.md | 2 +- src/config/config.example.php | 16 ++++++++-------- src/helpers/Filesystem.php | 4 ++-- src/helpers/GithubImporter.php | 4 ++-- src/helpers/Issue.php | 4 ++-- src/helpers/Mail.php | 4 ++-- src/helpers/Markdown.php | 8 ++++---- src/helpers/Page.php | 4 ++-- src/helpers/Twig.php | 4 ++-- src/public/index.php | 8 ++++---- src/routes/page.php | 4 ++-- src/tasks/import_github_issues.php | 4 ++-- src/templates/layout.twig | 12 ++++++------ 13 files changed, 39 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 35ff53b..cddd085 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Try it, it's easy to setup! No database needed ## Setup -* `git clone git@github.com:piwik/github-issues-mirror.git` +* `git clone git@github.com:matomo-org/github-issues-mirror.git` * `cd github-issues-mirror/src` * `curl -s https://getcomposer.org/installer | php` * `php composer.phar install` diff --git a/src/config/config.example.php b/src/config/config.example.php index 599a0d0..c78ac39 100644 --- a/src/config/config.example.php +++ b/src/config/config.example.php @@ -1,20 +1,20 @@ swelen_dateslider.swf + * swelen_dateslider.swf * to - * swelen_dateslider.swf + * swelen_dateslider.swf * @param $html * @return string html */ diff --git a/src/helpers/Page.php b/src/helpers/Page.php index 88efa53..963da21 100755 --- a/src/helpers/Page.php +++ b/src/helpers/Page.php @@ -1,8 +1,8 @@ getEnvironment()->addGlobal('projectName', PROJECT_NAME); $view->getEnvironment()->addGlobal('githubOrganization', GITHUB_ORGANIZATION); $view->getEnvironment()->addGlobal('githubRepository', GITHUB_REPOSITORY); - $view->getEnvironment()->addGlobal('piwikURL', PIWIK_URL); - $view->getEnvironment()->addGlobal('piwikID', PIWIK_ID); + $view->getEnvironment()->addGlobal('matomoURL', MATOMO_URL); + $view->getEnvironment()->addGlobal('matomoID', MATOMO_ID); return $view; }; diff --git a/src/routes/page.php b/src/routes/page.php index 05f9382..1b136fb 100644 --- a/src/routes/page.php +++ b/src/routes/page.php @@ -1,8 +1,8 @@
- Powered by GitHub Issue Mirror + Powered by GitHub Issue Mirror
-{% if piwikURL and piwikID %} - +{% if matomoURL and matomoID %} + - + {% endif %}