$this->phonegapVersion = self::getPhonegapVersion($phonegapVersion);
$this->appcache = $appcache;
$this->multiApp = $this->home = $home;
- $this->devversion = /*$this->getFluidbook()->version < 3 ? "dev" : */$this->getFluidbook()->mobileLVersion;
+ $this->devversion = /*$this->getFluidbook()->version < 3 ? "dev" : */
+ $this->getFluidbook()->mobileLVersion;
$this->scormVariant = $scormVariant;
$this->hybrid = $hybrid;
if (null !== $dir) {
$res .= $dir . '/';
}
+ if (!$version) {
+ $version = 'stable';
+ }
if ($version === 'stable') {
$res .= 'branches/master';
} else if ($version === 'dev') {
$params['toolbox'] = '1';
try {
- $output = self::sendRequest($farmer, 'process.php', $params);
+ $output = self::sendRequest($farmer, 'process.php', $params, 3600);
} catch (\Exception $e) {
Log::error('Farm server error ' . $farmer['name'] . ' : ' . json_encode($params) . ' : ' . $e->getMessage());
if ($attempts > 0) {