aboutsummaryrefslogtreecommitdiffstats
path: root/public/matomo/plugins/HeatmapSessionRecording/configs.php
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-20 16:11:50 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-20 16:15:08 +0100
commit73a5c7fae9ffbe9ada721148c8c454a643aceebe (patch)
treec8fad013ed9b5dd589add87f8d45cf02bbfc6e91 /public/matomo/plugins/HeatmapSessionRecording/configs.php
parentb01239fbdcc5bbc5921f73ec0e8fee7bedd5c8e8 (diff)
chore!: restructure repo
I separated public files from the config/dev files. It improves repo readability. I also moved dotenv helper to public/inc directory and extract the Matomo tracker in the same directory.
Diffstat (limited to 'public/matomo/plugins/HeatmapSessionRecording/configs.php')
-rw-r--r--public/matomo/plugins/HeatmapSessionRecording/configs.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/public/matomo/plugins/HeatmapSessionRecording/configs.php b/public/matomo/plugins/HeatmapSessionRecording/configs.php
new file mode 100644
index 0000000..abf5cd5
--- /dev/null
+++ b/public/matomo/plugins/HeatmapSessionRecording/configs.php
@@ -0,0 +1,9 @@
+<?php
+
+# proxy endpoint to support HeatmapSessionRecording tracker which sends requests to this file
+
+define('MATOMO_PROXY_FROM_ENDPOINT', 1);
+
+$path = 'plugins/HeatmapSessionRecording/configs.php';
+
+include dirname(__FILE__) . '/../../proxy.php'; \ No newline at end of file