summaryrefslogtreecommitdiff
path: root/bridges/HDWallpapersBridge.php
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@debian.org>2020-02-22 18:04:35 +0100
committerJohannes 'josch' Schauer <josch@debian.org>2020-02-22 18:04:35 +0100
commit779ac0902d2586e1ac31ad41881d8922ec40a7ea (patch)
tree692cccf44eccc86c0b19e7d1e3baaca8e871c173 /bridges/HDWallpapersBridge.php
parent550e60ae0c7e181f945a5dd54bd5e0c85939890a (diff)
New upstream version 2019-12-01+dfsg1
Diffstat (limited to 'bridges/HDWallpapersBridge.php')
-rw-r--r--bridges/HDWallpapersBridge.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/HDWallpapersBridge.php b/bridges/HDWallpapersBridge.php
index f1579e0..16c08e7 100644
--- a/bridges/HDWallpapersBridge.php
+++ b/bridges/HDWallpapersBridge.php
@@ -2,7 +2,7 @@
class HDWallpapersBridge extends BridgeAbstract {
const MAINTAINER = 'nel50n';
const NAME = 'HD Wallpapers Bridge';
- const URI = 'http://www.hdwallpapers.in/';
+ const URI = 'https://www.hdwallpapers.in/';
const CACHE_TIMEOUT = 43200; //12h
const DESCRIPTION = 'Returns the latests wallpapers from HDWallpapers';
@@ -72,7 +72,7 @@ class HDWallpapersBridge extends BridgeAbstract {
public function getName(){
if(!is_null($this->getInput('c')) && !is_null($this->getInput('r'))) {
return 'HDWallpapers - '
- . str_replace(['__', '_'], [' & ', ' '], $this->getInput('c'))
+ . str_replace(array('__', '_'), array(' & ', ' '), $this->getInput('c'))
. ' ['
. $this->getInput('r')
. ']';