diff options
| author | 2014-12-21 17:41:20 +0100 | |
|---|---|---|
| committer | 2014-12-21 17:41:20 +0100 | |
| commit | 725aece83ecd2705f273da64623007a7a05f8791 (patch) | |
| tree | a1012e23731693ee8c0d34bfe97ff5d9f583e022 /app/Models/EntryDAOSQLite.php | |
| parent | 966c061b3c032ead2441e906d59ac7985223a405 (diff) | |
Fix getting db size for sqlite
See https://github.com/FreshRSS/FreshRSS/issues/729
Diffstat (limited to 'app/Models/EntryDAOSQLite.php')
| -rw-r--r-- | app/Models/EntryDAOSQLite.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAOSQLite.php b/app/Models/EntryDAOSQLite.php index bb1539e0c..ffe0f037c 100644 --- a/app/Models/EntryDAOSQLite.php +++ b/app/Models/EntryDAOSQLite.php @@ -169,6 +169,6 @@ class FreshRSS_EntryDAOSQLite extends FreshRSS_EntryDAO { } public function size($all = false) { - return @filesize(DATA_PATH . '/' . $this->current_user . '.sqlite'); + return @filesize(join_path(DATA_PATH, 'users', $this->current_user, 'db.sqlite')); } } |
