]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 28 Jan 2013 10:56:57 +0000 (10:56 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 28 Jan 2013 10:56:57 +0000 (10:56 +0000)
inc/ws/Util/packager/class.ws.packager.v1.php

index f1d155289fce4fdba093faf32dd38b1b14e3f718..e6b88d9ab552e5124e04747ad3f52e2cc9bbb189 100644 (file)
@@ -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());
        }