public function run() { if (!$this->toFlavor('pro')) { return; } require_once 'ModuleInstall/ModuleInstaller.php'; $this->putFile($this->cacheDir('config.js'), ModuleInstaller::getJSConfig(ModuleInstaller::getBaseConfig())); }
public function run() { if (!$this->toFlavor('ent')) { return; } require_once 'ModuleInstall/ModuleInstaller.php'; $this->putFile('portal2/config.js', ModuleInstaller::getJSConfig(ModuleInstaller::getPortalConfig())); }