mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-25 20:48:43 -04:00
BREAKING FEATURE: Remove general in config
General attribute has been removed from system config. Now subattributes (e.g. environment, salt, title, etc.) are directly accessible. YOU HAVE TO FIX YOUR ./data/config.php file! - Remove the general array - Values inside this array must be kept - To see what it must look like, please have a look to ./data/config.default.php (but keep your values!!). See https://github.com/FreshRSS/FreshRSS/issues/730
This commit is contained in:
1 parent
d27efeec04
commit
d3a93ea290
18 files changed
+51
-58
No files matched your search
@@ -18,7 +18,7 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
|
||||
$token_param = Minz_Request::param('token', '');
|
||||
$token_is_ok = ($token != '' && $token == $token_param);
|
||||
$action = Minz_Request::actionName();
|
||||
$allow_anonymous_refresh = FreshRSS_Context::$system_conf->general['allow_anonymous_refresh'];
|
||||
$allow_anonymous_refresh = FreshRSS_Context::$system_conf->allow_anonymous_refresh;
|
||||
if ($action !== 'actualize' ||
|
||||
!($allow_anonymous_refresh || $token_is_ok)) {
|
||||
Minz_Error::error(403);
|
||||
|
||||
Reference in new issue
Block a user