mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-05 07:37:37 +02:00
remove commented code
This commit is contained in:
@@ -618,11 +618,6 @@ class CImage
|
|||||||
$this->saveFolder = $dir;
|
$this->saveFolder = $dir;
|
||||||
$this->cacheFileName = $dir . '/' . $src;
|
$this->cacheFileName = $dir . '/' . $src;
|
||||||
|
|
||||||
/* Allow readonly cache
|
|
||||||
is_writable($this->saveFolder)
|
|
||||||
or $this->raiseError('Target directory is not writable.');
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Sanitize filename
|
// Sanitize filename
|
||||||
$this->cacheFileName = preg_replace('/^a-zA-Z0-9\.-_/', '', $this->cacheFileName);
|
$this->cacheFileName = preg_replace('/^a-zA-Z0-9\.-_/', '', $this->cacheFileName);
|
||||||
$this->log("The cache file name is: " . $this->cacheFileName);
|
$this->log("The cache file name is: " . $this->cacheFileName);
|
||||||
|
Reference in New Issue
Block a user