projects/aports·blob master · refs

26 lines · 940 B

1diff --git a/config.default.php b/config.default.php
2index 87297554..51e42ad7 100644
3--- a/config.default.php
4+++ b/config.default.php
5@@ -194,7 +194,7 @@ return array(
6 'extensions' => [],
7
8 # Disable self-update,
9- 'disable_update' => false,
10+ 'disable_update' => true,
11
12 # Trusted IPs (e.g. of last proxy) that are allowed to send unsafe HTTP headers.
13 # The connection IP used during FreshRSS setup is automatically added to this list.
14diff --git a/constants.php b/constants.php
15index 824a7a5f..a09fe6c2 100644
16--- a/constants.php
17+++ b/constants.php
18@@ -45,7 +45,7 @@ $dataPath = getenv('DATA_PATH');
19 if (is_string($dataPath) && $dataPath !== '') {
20 define('DATA_PATH', $dataPath);
21 } else {
22- defined('DATA_PATH') or define('DATA_PATH', FRESHRSS_PATH . '/data');
23+ defined('DATA_PATH') or define('DATA_PATH', '/var/lib/freshrss/data');
24 }
25
26 defined('UPDATE_FILENAME') or define('UPDATE_FILENAME', DATA_PATH . '/update.php');