mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-01 14:00:08 +02:00
Add fix for WINDOWS2WSL
This commit is contained in:
@@ -2443,8 +2443,10 @@ class CImage
|
||||
return;
|
||||
}
|
||||
|
||||
is_writable($this->saveFolder)
|
||||
if (!defined("WINDOWS2WSL")) {
|
||||
is_writable($this->saveFolder)
|
||||
or $this->raiseError('Target directory is not writable.');
|
||||
}
|
||||
|
||||
$type = $this->getTargetImageExtension();
|
||||
$this->Log("Saving image as " . $type);
|
||||
|
Reference in New Issue
Block a user