$siteInstaller->updatePreferences(array('prefs' => eZSitePreferences($params))); setVersion('ezwebin', '1.2.0'); postInstallAdminSiteaccessINIUpdate($params); postInstallUserSiteaccessINIUpdate($params); createTranslationSiteAccesses($params); // updateTemplateLookClassAttributes() and updateTemplateLookObjectAttributes(); $classIdentifier = 'template_look'; $newAttributeIdArr = expandClass($classIdentifier); foreach ($newAttributeIdArr as $id) { updateObject($classIdentifier, $id); } $templateLookData = templateLookObjectData($params); $siteInstaller->updateContentObjectAttributes(array('object_id' => $webinInstaller->setting('template_look_object_id'), 'attributes_data' => $templateLookData)); $siteInstaller->swapNodes(array('src_node' => array('name' => "eZ Publish"), 'dst_node' => array('name' => "Home"))); $siteInstaller->removeContentObject(array('name' => 'eZ Publish')); $webinInstaller->postInstall(); } // // Output installation status. // showMessage2('Installation complete.'); showMessage('URLs to access eZWebin sites:'); foreach ($siteaccessUrls as $siteaccessType => $siteaccessInfo) { showMessage(" {$siteaccessType}:"); foreach ($siteaccessInfo as $siteaccessName => $urlInfo) { showMessage(" {$siteaccessName}: " . $urlInfo['url']); } } } else { showWarning("Unable to find installation script dir."); }
function eZSitePostInstall(&$parameters) { $installer = new eZWebinInstaller($parameters); $installer->postInstall(); }