From: vincent@cubedesigners.com Date: Fri, 6 Sep 2013 10:11:02 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f63c21caee68d295530c925e4e1d5ce1487486da;p=cubeextranet.git --- diff --git a/inc/ws/Util/class.ws.exporter.php b/inc/ws/Util/class.ws.exporter.php index f3b991bc5..ac9b80be7 100644 --- a/inc/ws/Util/class.ws.exporter.php +++ b/inc/ws/Util/class.ws.exporter.php @@ -23,17 +23,16 @@ class wsExporter { $d = str_replace('.', '/', $collection->settings['namespace']); $dest = $d . '/www/'; - $phonegap = new CubeIT_Mobile_Phonegap(); + $phonegap = CubeIT_Mobile_Phonegap::create($os); $phonegap->setName($collection->nom); $phonegap->setId($collection->settings['namespace']); $phonegap->setAuthor('Fluidbook', 'contact@fluidbook.com', 'http://www.fluidbook.com'); $phonegap->setVersion('1.0.0'); - $phonegap->setPlatform($os); $phonegap->setWWWDirectory($dir); if ($os == 'ios') { - $phonegap->setDistantCompiler('paris.cubedesigners.com', 'vincent', '/Phonegap/Projects/' . $d, 22022); + $phonegap->setDistantCompiler('paris.cubedesigners.com', 'vincent', '', '/Phonegap/Projects/' . $d, 22022); } else if ($os == 'android') { - $phonegap->setDistantCompiler('paris.cubedesigners.com', 'Vincent', 'h:/Works/Phonegap/Projects/' . $d, 22322); + $phonegap->setDistantCompiler('paris.cubedesigners.com', 'Vincent', 'iquique', 'h:/Works/Phonegap/Projects/' . $d, 22322); } $phonegap->setPreference('orientation', CubeIT_Mobile_Phonegap::ORIENTATION_PORTRAIT); $phonegap->setPreference('target-device', CubeIT_Mobile_Phonegap::TARGET_TABLET);