mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
system: change rss widget feed to forum annoucements
This commit is contained in:
parent
20b1f87d88
commit
8fb15789aa
@ -54,9 +54,9 @@ if (!empty($config['widgets']['rssfeed'])) {
|
||||
$textarea_txt = str_replace(",", "\n", $config['widgets']['rssfeed']);
|
||||
} else {
|
||||
// Set a default feed if none exists
|
||||
$rss_feed_s = "https://opnsense.org/feed/";
|
||||
$config['widgets']['rssfeed'] = "https://opnsense.org/feed/";
|
||||
$textarea_txt = "";
|
||||
$rss_feed_s = 'https://forum.opnsense.org/index.php?board=11.0&action=.xml;limit=20;type=rss2';
|
||||
$config['widgets']['rssfeed'] = $rss_feed_s;
|
||||
$textarea_txt = '';
|
||||
}
|
||||
|
||||
if (!empty($config['widgets']['rssmaxitems']) && is_numeric($config['widgets']['rssmaxitems'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user