aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Log.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-21 13:10:02 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-21 13:10:02 +0100
commitb5bee8560345e4123432a8bd3bcd63b938549ef9 (patch)
treea72a9fe4390551466761f3d4267de6b831c7dd2c /lib/Minz/Log.php
parent875b8a72f97429c4e4df6d292daf4261fb7a45bd (diff)
BREAKING FEATURE: move user data
- Create ./data/users/ folder - Move user configuration to ./data/users/username/config.php - Move sqlite db to ./data/users/username/db.sqlite - Move user logs to ./data/users/username/log.txt See https://github.com/FreshRSS/FreshRSS/issues/729
Diffstat (limited to 'lib/Minz/Log.php')
-rw-r--r--lib/Minz/Log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Log.php b/lib/Minz/Log.php
index d3eaec2ae..26412c547 100644
--- a/lib/Minz/Log.php
+++ b/lib/Minz/Log.php
@@ -37,7 +37,7 @@ class Minz_Log {
|| ($env === Minz_Configuration::PRODUCTION
&& ($level >= Minz_Log::NOTICE)))) {
if ($file_name === null) {
- $file_name = LOG_PATH . '/' . Minz_Session::param('currentUser', '_') . '.log';
+ $file_name = join_path(DATA_PATH, 'users', Minz_Session::param('currentUser', '_'), 'log.txt');
}
switch ($level) {