mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue