1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-06 16:16:39 +02:00

testing before release v0.7.0

This commit is contained in:
Mikael Roos
2015-02-02 12:39:58 +01:00
parent 16a7a3dad5
commit c012cb2537
8 changed files with 243 additions and 203 deletions

View File

@@ -313,7 +313,7 @@ class CRemoteImage
*/
public function loadCacheDetails()
{
$cacheFile = str_replace(["/", ":", "#", ".", "?"], "-", $this->url);
$cacheFile = str_replace(array("/", ":", "#", ".", "?"), "-", $this->url);
$this->fileName = $this->saveFolder . $cacheFile;
$this->fileJson = $this->fileName . ".json";
if (is_readable($this->fileJson)) {