From eb7fbedc932312b0efec4eaa47a4933c6fa02d5e Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 21 May 2013 11:38:41 +0000 Subject: [PATCH] --- inc/ws/Util/packager/class.ws.packager.phonegap.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/ws/Util/packager/class.ws.packager.phonegap.php b/inc/ws/Util/packager/class.ws.packager.phonegap.php index 706769095..0dffa2227 100644 --- a/inc/ws/Util/packager/class.ws.packager.phonegap.php +++ b/inc/ws/Util/packager/class.ws.packager.phonegap.php @@ -70,7 +70,7 @@ class wsPackagerPhonegap extends wsPackager { $views[] = array('orientation' => $orientation, 'url' => $url); } - $baseUrl = 'http://workshop.fluidbook.com/viewerh/' . $this->book->book_id . '_' . $this->book->hash . '_' . $this->book->compilehtml5date . '/index.html?s=1#'; + $baseUrl = 'http://workshop.fluidbook.com/viewerh/' . $this->book->book_id . '_' . $this->book->hash . '_' . TIME . '/index.html?s=1#'; foreach ($resolutions as $n => $res) { @@ -151,7 +151,7 @@ class wsPackagerPhonegap extends wsPackager { protected function makeIOSResources($resources) { $splashs = array('320x480' => 'Default~iphone', '640x960' => 'Default@2x~iphone', '1024x748' => 'Default-Landscape~ipad', '768x1004' => 'Default-Portrait~ipad', '2048x1496' => 'Default-Landscape@2x~ipad', '1536x2008' => 'Default-Portrait@2x~ipad', '640x1136' => 'Default-568h@2x~iphone'); - $icons = array(57 => 'icon', 72 => 'icon-72', 114 => 'icon@2x', 144 => 'icon-72@2x'); + $icons = array(57 => 'icon', 72 => 'icon-72', 114 => 'icon@2x', 144 => 'icon-72@2x', 1024 => 'store'); if (!file_exists($resources . '/splash')) { mkdir($resources . '/splash', 0777, true); @@ -181,8 +181,8 @@ class wsPackagerPhonegap extends wsPackager { $im2 = imagecreatefromfile($this->themeRoot . '/' . $this->theme->parametres->logoLoader); $lw = imagesx($im2); $lh = imagesy($im2); - imagealphablending($im,true); - imagealphablending($im2,true); + imagealphablending($im, true); + imagealphablending($im2, true); imagecopy($im, $im2, ($width - $lw) / 2, ($height - $lh) / 2, 0, 0, $lw, $lh); imagedestroy($im2); } -- 2.39.5