From b0e9075380dd0b8e51c9727fdc37749439c4d8cb Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 10 Nov 2022 13:19:16 +0000 Subject: [PATCH] wait #5535 @1.5 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 = ''; } -- 2.39.5