File: 0024-Adjust-the-suggested-chown-path.patch

package info (click to toggle)
matomo 5.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 73,220 kB
  • sloc: php: 230,901; javascript: 102,286; python: 196; xml: 189; sh: 156; makefile: 13; sql: 10
file content (23 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: William Desportes <williamdes@wdes.fr>
Date: Thu, 26 Dec 2024 20:30:47 +0100
Subject: Adjust the suggested chown path

Origin: vendor
Forwarded: no
---
 core/Filechecks.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/Filechecks.php b/core/Filechecks.php
index 6f143b7..1722ebf 100644
--- a/core/Filechecks.php
+++ b/core/Filechecks.php
@@ -75,7 +75,7 @@ class Filechecks
 
         // Also give the chown since the chmod is only 755
         if (!SettingsServer::isWindows()) {
-            $realpath = Filesystem::realpath(PIWIK_INCLUDE_PATH . '/');
+            $realpath = Filesystem::realpath(MATOMO_TMP_PATH . '/');
             $directoryList = "<code>chown -R " . self::getUserAndGroup() . " " . $realpath . "</code><br />" . $directoryList;
         }