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