aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Configuration.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-28 19:46:04 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-28 19:46:04 +0100
commit0cd975bfd06b45865722d85fbdab120439623ddc (patch)
tree790f442337f88cfecb20b0c62bfec2f61af83c94 /app/Models/Configuration.php
parent5f327abeeca1953ff9d11f93afb9fbd9ceb825ba (diff)
parent497d295be470454b7bd068a5c5cceda8caa19527 (diff)
Merge branch '729-move_data' into dev
To update, please follow instructions in https://github.com/FreshRSS/FreshRSS/issues/729
Diffstat (limited to 'app/Models/Configuration.php')
-rw-r--r--app/Models/Configuration.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/Configuration.php b/app/Models/Configuration.php
index 8668470b0..8bba8f777 100644
--- a/app/Models/Configuration.php
+++ b/app/Models/Configuration.php
@@ -74,7 +74,7 @@ class FreshRSS_Configuration {
private $shares;
public function __construct($user) {
- $this->filename = DATA_PATH . DIRECTORY_SEPARATOR . $user . '_user.php';
+ $this->filename = join_path(DATA_PATH, 'users', $user, 'config.php');
$data = @include($this->filename);
if (!is_array($data)) {
@@ -89,7 +89,7 @@ class FreshRSS_Configuration {
}
$this->data['user'] = $user;
- $this->shares = DATA_PATH . DIRECTORY_SEPARATOR . 'shares.php';
+ $this->shares = join_path(DATA_PATH, 'shares.php');
$shares = @include($this->shares);
if (!is_array($shares)) {