1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-05 07:37:37 +02:00

Add fix for WINDOWS2WSL

This commit is contained in:
Mikael Roos
2022-11-17 16:05:25 +01:00
parent 4589b3b3cd
commit 55ce23ae5e

View File

@@ -2443,8 +2443,10 @@ class CImage
return; return;
} }
is_writable($this->saveFolder) if (!defined("WINDOWS2WSL")) {
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);