aboutsummaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-05-12 23:33:58 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-05-12 23:33:58 +0200
commitaf8960b8b3be3c78573d0319a8a537083fae2d4d (patch)
tree7be93d33b2f758fa910e6096d878064fdfabcc86 /app/install.php
parent1914ce9207a95f5b5ed88e226aa8999df79f67e6 (diff)
Move default configuration files
https://github.com/FreshRSS/FreshRSS/issues/1531
Diffstat (limited to 'app/install.php')
-rw-r--r--app/install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/install.php b/app/install.php
index ebfffa47d..9e474ca73 100644
--- a/app/install.php
+++ b/app/install.php
@@ -88,13 +88,13 @@ function saveStep1() {
// First, we try to get previous configurations
Minz_Configuration::register('system',
join_path(DATA_PATH, 'config.php'),
- join_path(DATA_PATH, 'config.default.php'));
+ join_path(FRESHRSS_PATH, 'config.default.php'));
$system_conf = Minz_Configuration::get('system');
$current_user = $system_conf->default_user;
Minz_Configuration::register('user',
join_path(USERS_PATH, $current_user, 'config.php'),
- join_path(USERS_PATH, '_', 'config.default.php'));
+ join_path(FRESHRSS_PATH, 'config-user.default.php'));
$user_conf = Minz_Configuration::get('user');
// Then, we set $_SESSION vars