From: vincent@cubedesigners.com Date: Thu, 10 Nov 2022 13:19:16 +0000 (+0000) Subject: wait #5535 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b0e9075380dd0b8e51c9727fdc37749439c4d8cb;p=cubeextranet.git wait #5535 @1.5 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index b109b9479..1e2ace5ef 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -744,9 +744,10 @@ class wsHTML5Compiler $wfile = $this->wdir . 'commerce/' . $fname; if (file_exists($wfile)) { - $s = getimagesize($wfile); - $fname = ''; - $this->vdir->copy($wfile, $fname); + $s = CubeIT_Image::getimagesize($wfile); + $html = ''; + $this->vdir->copy($wfile, 'data/commerce/' . $fname); + $fname = $html; } else { $fname = ''; }