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