From bd0e627e2a28090f78e38c72349fac92c3969b13 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 28 Jan 2013 10:56:57 +0000 Subject: [PATCH] --- inc/ws/Util/packager/class.ws.packager.v1.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/ws/Util/packager/class.ws.packager.v1.php b/inc/ws/Util/packager/class.ws.packager.v1.php index f1d155289..e6b88d9ab 100644 --- a/inc/ws/Util/packager/class.ws.packager.v1.php +++ b/inc/ws/Util/packager/class.ws.packager.v1.php @@ -234,6 +234,9 @@ class wsPackagerV1 extends wsPackagerHTML { $this->_copyWorkingFile($this->book->parametres->v1SWF, $this->vdir); } + if (!file_exists($this->vdir . '/index.swf')) { + $this->_copyWorkingFile(WS_COMPILE_ASSETS . '/_v1/index.swf', $this->vdir); + } file_put_contents($this->vdir . '/data/data.xml', $xml->asXML()); } -- 2.39.5