1
0
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:
Mikael Roos 2015-09-16 09:18:51 +02:00
parent 850fb76c8b
commit 7af0b6ef8a

View File

@ -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);