diff options
| author | 2014-12-28 18:05:02 +0100 | |
|---|---|---|
| committer | 2014-12-28 18:05:02 +0100 | |
| commit | c391ca62f1ad4130202b995bb5bb9111894e65ff (patch) | |
| tree | 77165b1b577bd1be269ed0a2b93dbd4944842860 /p/i | |
| parent | 039a83759d41615aaa593fa62deff4c25fc126a2 (diff) | |
Remove all old references to LOG_PATH
See https://github.com/FreshRSS/FreshRSS/issues/729
Diffstat (limited to 'p/i')
| -rwxr-xr-x | p/i/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/p/i/index.php b/p/i/index.php index ec969c159..009d56bc3 100755 --- a/p/i/index.php +++ b/p/i/index.php @@ -32,8 +32,8 @@ if (file_exists(DATA_PATH . '/do-install.txt')) { require(LIB_PATH . '/http-conditional.php'); $currentUser = Minz_Session::param('currentUser', ''); $dateLastModification = $currentUser === '' ? time() : max( - @filemtime(LOG_PATH . '/' . $currentUser . '.log'), - @filemtime(DATA_PATH . '/config.php') + @filemtime(join_path(USERS_PATH, $currentUser, 'log.txt')), + @filemtime(join_path(DATA_PATH . 'config.php')) ); if (httpConditional($dateLastModification, 0, 0, false, PHP_COMPRESSION, true)) { exit(); //No need to send anything |
