]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 17 Oct 2013 18:53:11 +0000 (18:53 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 17 Oct 2013 18:53:11 +0000 (18:53 +0000)
inc/ws/Controlleur/class.ws.services.php

index 5b374ce5b3b67a6728c8b0c3f13916195ad9afe9..302331732904494c4ed5d419b38f6de0c7d52c0b 100644 (file)
@@ -611,6 +611,10 @@ class wsServices extends cubeFlashGateway {
                $resolution = $this->callArgs[2];\r
                $local = (isset($this->callArgs[3])) ? $this->callArgs[3] : null;\r
 \r
+               if ($id == 4) {\r
+                       $resolution = 150;\r
+               }\r
+\r
                $this->outputXML = false;\r
                header('Content-type: application/json');\r
 \r
@@ -688,7 +692,7 @@ class wsServices extends cubeFlashGateway {
                                $traductions[$r->lang_id] = json_decode($r->traductions);\r
                        }\r
 \r
-                       $d = array('id' => $id, 'ns' => $ns, 'langs' => $langs, 'langnames' => $langsnames, 'time' => $version, 'datas' => $composition, 'couvertures' => $couvertures, 'traductions' => $traductions, 'contents' => $contents);\r
+                       $d = array('id' => $id, 'res' => $resolution, 'ns' => $ns, 'langs' => $langs, 'langnames' => $langsnames, 'time' => $version, 'datas' => $composition, 'couvertures' => $couvertures, 'traductions' => $traductions, 'contents' => $contents);\r
                        $d = array_merge($d, $this->_getManifest($publications, '/fluidbook/collections/versions/' . $id . '/' . $version . '/' . $os, $books, $resolution));\r
 \r
                        $dao = new wsDAOCollection($core->con);\r