From e6d7bd824857960c4c309c8a2628c5c8e23a0870 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 14 Mar 2018 15:01:49 +0000 Subject: [PATCH] done #1981 @0.25 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 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 6e972b4fc..bcfc42a0e 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -593,7 +593,7 @@ class wsHTML5Compiler { $splash = ''; if ($this->theme->parametres->logoLoader && file_exists($this->themeRoot . $this->theme->parametres->logoLoader)) { - $dim = getimagesize($this->themeRoot . $this->theme->parametres->logoLoader); + $dim = CubeIT_Image::getimagesize($this->themeRoot . $this->theme->parametres->logoLoader); if ($dim !== false) { $this->vdir->copy($this->themeRoot . '/' . $this->theme->parametres->logoLoader, 'data/images/' . $this->theme->parametres->logoLoader); $splash .= ''; @@ -1448,7 +1448,7 @@ class wsHTML5Compiler { $logo = '#logo{'; if ($this->theme->parametres->logo) { $this->vdir->copy($this->themeRoot . '/' . $this->theme->parametres->logo, 'data/images/' . $this->theme->parametres->logo); - $dim = getimagesize($this->themeRoot . '/' . $this->theme->parametres->logo); + $dim = CubeIT_Image::getimagesize($this->themeRoot . '/' . $this->theme->parametres->logo); $logo .= 'background-image:url(../images/' . $this->theme->parametres->logo . ');width:' . $dim[0] . 'px;height:' . $dim[1] . 'px;'; } $logo .= '}'; -- 2.39.5