mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-23 23:16:53 +00:00
Merge a97083a127
into 88919a43fd
This commit is contained in:
commit
3e462316e6
@ -48,10 +48,12 @@ class ParuVenduImmoBridge extends BridgeAbstract
|
|||||||
|
|
||||||
list($href) = explode('#', $element->href);
|
list($href) = explode('#', $element->href);
|
||||||
|
|
||||||
$item = array();
|
|
||||||
$item['uri'] = self::URI.$href;
|
$item = new \Item();
|
||||||
$item['title'] = $element->title;
|
$item->uri = $this->getURI().$href;
|
||||||
$item['content'] = $img.$desc.$price;
|
$item->title = $element->title;
|
||||||
|
$item->content = $img.$desc.$price;
|
||||||
|
|
||||||
$this->items[] = $item;
|
$this->items[] = $item;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ EOD;
|
|||||||
|| in_array($name . '.php', $whitelist)
|
|| in_array($name . '.php', $whitelist)
|
||||||
|| in_array($name . 'Bridge', $whitelist) // DEPRECATED
|
|| in_array($name . 'Bridge', $whitelist) // DEPRECATED
|
||||||
|| in_array($name . 'Bridge.php', $whitelist) // DEPRECATED
|
|| in_array($name . 'Bridge.php', $whitelist) // DEPRECATED
|
||||||
|| count($whitelist) === 1 and trim($whitelist[0]) === '*'){
|
|| (count($whitelist) === 1 and trim($whitelist[0]) === '*')) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user