File: 0010-Patch-the-path-to-php-tcpdf.patch

package info (click to toggle)
matomo 5.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,652 kB
  • sloc: php: 230,070; javascript: 103,748; python: 196; xml: 188; sh: 156; makefile: 13; sql: 10
file content (25 lines) | stat: -rw-r--r-- 798 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: William Desportes <williamdes@wdes.fr>
Date: Sun, 15 Dec 2024 22:53:14 +0100
Subject: Patch the path to php-tcpdf

Do not use PIWIK_VENDOR_PATH

Origin: vendor
Forwarded: not-needed
---
 plugins/ScheduledReports/config/tcpdf_config.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/ScheduledReports/config/tcpdf_config.php b/plugins/ScheduledReports/config/tcpdf_config.php
index 15c2c0c..40cdc59 100644
--- a/plugins/ScheduledReports/config/tcpdf_config.php
+++ b/plugins/ScheduledReports/config/tcpdf_config.php
@@ -14,7 +14,7 @@ use Piwik\Container\StaticContainer;
  *
  */
 
-define('K_PATH_MAIN', PIWIK_VENDOR_PATH . '/tecnickcom/tcpdf/');
+define('K_PATH_MAIN', '/usr/share/php/tcpdf/');
 
 $pathTmpTCPDF = StaticContainer::get('path.tmp') . '/tcpdf/';