diff options
| author | 2014-12-28 19:46:04 +0100 | |
|---|---|---|
| committer | 2014-12-28 19:46:04 +0100 | |
| commit | 0cd975bfd06b45865722d85fbdab120439623ddc (patch) | |
| tree | 790f442337f88cfecb20b0c62bfec2f61af83c94 /lib/Minz/ModelPdo.php | |
| parent | 5f327abeeca1953ff9d11f93afb9fbd9ceb825ba (diff) | |
| parent | 497d295be470454b7bd068a5c5cceda8caa19527 (diff) | |
Merge branch '729-move_data' into dev
To update, please follow instructions in https://github.com/FreshRSS/FreshRSS/issues/729
Diffstat (limited to 'lib/Minz/ModelPdo.php')
| -rw-r--r-- | lib/Minz/ModelPdo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/ModelPdo.php b/lib/Minz/ModelPdo.php index 6198cd85c..118d89ad2 100644 --- a/lib/Minz/ModelPdo.php +++ b/lib/Minz/ModelPdo.php @@ -63,7 +63,7 @@ class Minz_ModelPdo { ); $this->prefix = $db['prefix'] . $currentUser . '_'; } elseif ($type === 'sqlite') { - $string = 'sqlite:' . DATA_PATH . '/' . $currentUser . '.sqlite'; + $string = 'sqlite:' . join_path(DATA_PATH, 'users', $currentUser, 'db.sqlite'); $driver_options = array( //PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, ); |
