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