protected $_links;
protected $_rulers;
+ protected $scormVariant = false;
+ protected $disableLoadBalancer = false;
+
protected $_docDimensions = [];
public $_signature;
$this->multiApp = $this->home = $home;
$this->devversion = /*$this->getFluidbook()->version < 3 ? "dev" : */
$this->getFluidbook()->mobileLVersion;
- $this->scormVariant = $variant==='scorm';
+ $this->scormVariant = $variant === 'scorm';
+ $this->disableLoadBalancer = $variant === 'nolb';
$this->hybrid = $hybrid;
if (!$this->scormVariant) {
$this->fluidbookSettings->scorm_enable = false;
}
+ if ($this->disableLoadBalancer) {
+ $this->fluidbookSettings->hosting_loadbalancer = false;
+ }
+
$this->config = new Data(array_merge($this->fluidbookSettings->getRawData()['settings'], $this->themeSettings->getRawData()));
$skipCompile = false;
}
- $dest = $fluidbook->getFinalPath($theme, $version?:'online');
+ $dest = $fluidbook->getFinalPath($theme, $version ?: 'online');
+
if ($path === 'index.html') {
$fluidbook->incrementPreviewVisit();
if (!$skipCompile) {
- $compiler = new Compiler($fluidbook, $isScorm, theme: $theme);
+ $compiler = new Compiler($fluidbook, $version, theme: $theme);
$compiler->handle();
}
}