mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-05 07:37:37 +02:00
recreating bundles
This commit is contained in:
@@ -430,7 +430,7 @@ class CRemoteImage
|
|||||||
*/
|
*/
|
||||||
public function setCache($path)
|
public function setCache($path)
|
||||||
{
|
{
|
||||||
$this->saveFolder = $path;
|
$this->saveFolder = rtrim($path, "/") . "/";
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1282,6 +1282,13 @@ class CImage
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Path to cache for remote download.
|
||||||
|
*/
|
||||||
|
private $remoteCache;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pattern to recognize a remote file.
|
* Pattern to recognize a remote file.
|
||||||
*/
|
*/
|
||||||
@@ -1324,7 +1331,7 @@ class CImage
|
|||||||
*/
|
*/
|
||||||
const RESIZE = 1;
|
const RESIZE = 1;
|
||||||
const RESAMPLE = 2;
|
const RESAMPLE = 2;
|
||||||
private $copyStrategy = null;
|
private $copyStrategy = NULL;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -430,7 +430,7 @@ class CRemoteImage
|
|||||||
*/
|
*/
|
||||||
public function setCache($path)
|
public function setCache($path)
|
||||||
{
|
{
|
||||||
$this->saveFolder = $path;
|
$this->saveFolder = rtrim($path, "/") . "/";
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1282,6 +1282,13 @@ class CImage
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Path to cache for remote download.
|
||||||
|
*/
|
||||||
|
private $remoteCache;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pattern to recognize a remote file.
|
* Pattern to recognize a remote file.
|
||||||
*/
|
*/
|
||||||
@@ -1324,7 +1331,7 @@ class CImage
|
|||||||
*/
|
*/
|
||||||
const RESIZE = 1;
|
const RESIZE = 1;
|
||||||
const RESAMPLE = 2;
|
const RESAMPLE = 2;
|
||||||
private $copyStrategy = null;
|
private $copyStrategy = NULL;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user