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;
}
|