mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-08 02:26:35 +00:00
[core] Load bridge configuration immediately after creating bridge object
Primary reason is allowing to load configuration params, when executing getCacheTimeout
This commit is contained in:
parent
918041cc28
commit
9be00ff84e
@ -38,6 +38,7 @@ class DisplayAction extends ActionAbstract {
|
||||
|
||||
// Data retrieval
|
||||
$bridge = $bridgeFac->create($bridge);
|
||||
$bridge->loadConfiguration();
|
||||
|
||||
$noproxy = array_key_exists('_noproxy', $this->userData)
|
||||
&& filter_var($this->userData['_noproxy'], FILTER_VALIDATE_BOOLEAN);
|
||||
@ -131,7 +132,6 @@ class DisplayAction extends ActionAbstract {
|
||||
|
||||
try {
|
||||
$bridge->setDatas($bridge_params);
|
||||
$bridge->loadConfiguration();
|
||||
$bridge->collectData();
|
||||
|
||||
$items = $bridge->getItems();
|
||||
|
Loading…
Reference in New Issue
Block a user