$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) {
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);
$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);
}